去除formatContent

This commit is contained in:
aixianling
2022-07-27 10:24:38 +08:00
parent 5cb525d9a2
commit 3329cd4bf1
5 changed files with 18 additions and 24 deletions

View File

@@ -17,9 +17,7 @@ Vue.use(vcUI);
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({
router,