This commit is contained in:
yanran200730
2022-07-21 18:19:41 +08:00
parent 2f05a88e56
commit c1131c0b54
4 changed files with 223 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ Vue.use(dvui)
//富文本编辑器配置
Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Vue.prototype.$request = axios
Vue.prototype.formatContent = (val) => val.replace(/(\r\n)|(\n)/g, '<br>');
Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e]));
new Vue({