main
xuechunyuan 3 years ago
parent 43955c3e81
commit 6fbff85f54
  1. 2
      src/config/website.js
  2. 2
      src/views/articlelist/index.vue

@ -48,5 +48,5 @@ export default {
ssoUrl: 'http://localhost:8100/oauth/authorize?client_id=saber&response_type=code&redirect_uri=',
// 单点登录回调地址(Saber服务的地址)
redirectUri: 'http://localhost:1888',
filePrex: 'http://192.168.1.106:9000',//'http://www.qdscgs.com:9091' 图片前缀
filePrex: 'http://www.qdscgs.com:9091',//'http://192.168.1.106:9000',// 图片前缀
}

@ -110,7 +110,7 @@ export default {
minRows: 12,
span: 24,
formatter: (val) => {
return decodeURIComponent(val.content).replace(/src=\"/gi, 'src="' + this.website.filePrex);
return decodeURIComponent(val.content);
}
},
{

Loading…
Cancel
Save