|
@@ -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) => {}
|
|
|
})
|