Skip to content

Commit b800bb5

Browse files
committed
删除多余代码
1 parent 6413ba0 commit b800bb5

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

src/pages/about/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
// import Vue from 'vue'
2-
import About from './about.vue'
3-
41

5-
Vue.config.productionTip = false
2+
import About from './about.vue'
63

7-
/* eslint-disable no-new */
84
new Vue({
95
el: '#app',
106
render: h => h(About)

src/pages/home/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
// import Vue from 'vue'
2-
import Home from './home'
31

4-
Vue.config.productionTip = false
2+
import Home from './home'
53

6-
/* eslint-disable no-new */
74
new Vue({
85
el: '#app',
96
render: h => h(Home)

src/pages/index/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
// import Vue from 'vue'
1+
22
import Index from './index.vue'
33

4-
// import ELEMENT from 'element-ui'
5-
// import 'element-ui/lib/theme-chalk/index.css'
6-
/* eslint-disable no-new */
74
new Vue({
85
el: '#app',
96
render: h => h(Index)

0 commit comments

Comments
 (0)