浏览代码

Merge branch 'master' of http://git.cc-lotus.info/pointToNetwork/point-app

guhongwei 2 年之前
父节点
当前提交
d072539a7c
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      pagesMy/apply/add.vue

+ 5 - 1
pagesMy/apply/add.vue

@@ -95,7 +95,11 @@
 						}
 						// 系统设置
 						let config = await that.$api(`/config`, 'GET', {});
-						if (config.errcode == '0') that.$set(that, `config`, config.data);
+						if (config.errcode == '0') {
+							if (config.data.leader_rule) config.data.leader_rule = config.data.leader_rule.replace(/\<img/gi,
+								'<img class="rich-img"');
+								that.$set(that, `config`, config.data);
+						}
 					},
 					fail: (err) => {}
 				})