Browse Source

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

guhongwei 2 năm trước cách đây
mục cha
commit
d072539a7c
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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) => {}
 				})