解绑字典工具类和vuex的强绑定,字典类可单独使用

This commit is contained in:
aixianling
2022-04-19 09:48:30 +08:00
parent 23edcd62d9
commit 0c25c114d0
3 changed files with 33 additions and 20 deletions

View File

@@ -18,7 +18,6 @@ Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Vue.prototype.formatContent = (val) => val.replace(/(\r\n)|(\n)/g, '<br>');
Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e]));
utils.$store.init(store);
new Vue({
router,
store,