File tree 1 file changed +14
-14
lines changed
Filter options
1 file changed +14
-14
lines changed
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import Layout from './components/layout'
9
9
import * as uiv from 'uiv'
10
10
import hljs from 'highlight.js'
11
11
import VeeValidate from 'vee-validate'
12
- import cordova from './mobile-index'
12
+ // import cordova from './mobile-index' // 打开此行代码的注释可以打 cordova 的包
13
13
14
14
Vue . use ( uiv )
15
15
Vue . use ( ElementUI )
@@ -25,18 +25,18 @@ Vue.directive('hljs', el => {
25
25
Array . prototype . forEach . call ( blocks , hljs . highlightBlock )
26
26
} )
27
27
28
- cordova . onDeviceReady = ( ) => {
28
+ // cordova.onDeviceReady = () => { // 打开此行代码的注释可以打 cordova 的包
29
29
/* eslint-disable no-new */
30
- new Vue ( {
31
- el : '#app' ,
32
- router,
33
- store,
34
- template : '<Layout/>' ,
35
- components : {
36
- Layout
37
- }
38
- // render: h => h(App)
39
- } )
40
- }
30
+ new Vue ( {
31
+ el : '#app' ,
32
+ router,
33
+ store,
34
+ template : '<Layout/>' ,
35
+ components : {
36
+ Layout
37
+ }
38
+ // render: h => h(App)
39
+ } )
40
+ // }
41
41
42
- cordova . initialize ( )
42
+ // cordova.initialize() // 打开此行代码的注释可以打 cordova 的包
You can’t perform that action at this time.
0 commit comments