forked from jae-jae/Userscript-Plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.vue
More file actions
29 lines (26 loc) · 730 Bytes
/
Copy pathApp.vue
File metadata and controls
29 lines (26 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template>
<div id="app">
<MainTable></MainTable>
</div>
</template>
<script>
import MainTable from './components/Table.vue'
import Tools from './common/js/tools'
export default {
components: {MainTable},
mounted: function(){
//旧版本无法正常工作,更新脚本
if(!parent.document.getElementById('jae_userscript_box')){
Tools.installUserJs('https://greasyfork.org/scripts/24508-userscript-show-site-all-userjs/code/Userscript+%20:%20Show%20Site%20All%20UserJS.user.js')
}
}
}
</script>
<style>
#app {
position: fixed;
bottom: 0;
right: 0;
width: 100%;
}
</style>