|
@@ -20,20 +20,10 @@ Vue.prototype.$alert = MessageBox.alert
|
|
Vue.prototype.$confirm = MessageBox.confirm
|
|
Vue.prototype.$confirm = MessageBox.confirm
|
|
Vue.config.productionTip = false
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
-// 正式环境下屏蔽console.log(主应用已屏蔽)
|
|
|
|
-// if (process.env.NODE_ENV === 'production') {
|
|
|
|
-// const print = window.console.log
|
|
|
|
-// if (window.localStorage.getItem('log') === '1') {
|
|
|
|
-// window.console.log = print
|
|
|
|
-// } else {
|
|
|
|
-// window.console.log = () => null
|
|
|
|
-// }
|
|
|
|
-// } else {}
|
|
|
|
-
|
|
|
|
export const { bootstrap, mount, unmount } = easySubAppRegister({
|
|
export const { bootstrap, mount, unmount } = easySubAppRegister({
|
|
Vue,
|
|
Vue,
|
|
router,
|
|
router,
|
|
store,
|
|
store,
|
|
App,
|
|
App,
|
|
el: '#app'
|
|
el: '#app'
|
|
-})
|
|
|
|
|
|
+}) || {}
|