|
@@ -10,7 +10,7 @@ Vue.use(ElementUI);
|
|
Vue.config.productionTip = false
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
-Vue.prototype.$dayjs = dayjs;
|
|
|
|
|
|
+Vue.prototype.$dayjs = dayjs;
|
|
|
|
|
|
//自定义弹窗
|
|
//自定义弹窗
|
|
import './uitls/dialogDrag'
|
|
import './uitls/dialogDrag'
|
|
@@ -46,6 +46,8 @@ Vue.prototype.$confirm = (title, callback) => {
|
|
}).then(callback).catch(() => {});
|
|
}).then(callback).catch(() => {});
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+Vue.prototype.$systemMenu = ['系统设置', '优惠管理', '商品管理'];
|
|
|
|
+
|
|
import './uitls/permission.js'
|
|
import './uitls/permission.js'
|
|
import './router/permission.js'
|
|
import './router/permission.js'
|
|
|
|
|