vconsole
This commit is contained in:
parent
324cc834e9
commit
ca835f68de
8
components/tpx-page/renderVConsole.js
Normal file
8
components/tpx-page/renderVConsole.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import vconsole from "vconsole"
|
||||||
|
let vConsoleInstance
|
||||||
|
|
||||||
|
export const initVConsole = ()=> {
|
||||||
|
if(!vConsoleInstance) {
|
||||||
|
// vConsoleInstance = new vconsole()
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -31,6 +31,25 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script module="VConsole" lang="renderjs">
|
||||||
|
import { initVConsole } from "./renderVConsole"
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.showVConsole()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
showVConsole(){
|
||||||
|
initVConsole()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@ -3,7 +3,7 @@
|
|||||||
"appid" : "__UNI__BCB0FB5",
|
"appid" : "__UNI__BCB0FB5",
|
||||||
"description" : "探路国际速运",
|
"description" : "探路国际速运",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : "1028",
|
"versionCode" : "1029",
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user