Compare commits

..

1 Commits
master ... dev

Author SHA1 Message Date
马远东 4fee092340 修复品牌新增刷新问题 6 hours ago
  1. 3
      src/config/website.js
  2. 10
      src/views/basicdata/brand/basicBrand.vue
  3. 9
      vite.config.js

3
src/config/website.js

@ -52,10 +52,9 @@ export default {
// 第三方系统授权地址
authUrl: 'http://localhost/blade-auth/oauth/render',
// 报表设计器地址(cloud端口为8108,boot端口为80)
reportUrl: 'http://test.ureport.huo5you.com/ureport',
reportUrl: 'http://8.137.14.82:8108/ureport',
// 单点登录系统认证(blade-auth服务的地)
ssoUrl: 'http://localhost:8100/oauth/authorize?client_id=saber&response_type=code&redirect_uri=',
// 单点登录回调地址(Saber服务的登录界面地址)
redirectUri: 'http://localhost:2888/login',
};

10
src/views/basicdata/brand/basicBrand.vue

@ -432,10 +432,12 @@ export default {
this.$message({
type: 'success',
message: '操作成功!',
}).finally(() => {
this.loadingObj.detailLoading = false;
});
})
this.imageUrl = null;
}).catch(e=>{
console.log(e);
}).finally(()=>{
this.loadingObj.detailLoading = false;
});
} else {
update(this.form)
@ -446,6 +448,8 @@ export default {
type: 'success',
message: '操作成功!',
});
}).catch(e=>{
console.log(e);
})
.finally(() => {
this.loadingObj.detailLoading = false;

9
vite.config.js

@ -27,14 +27,15 @@ export default ({ mode, command }) => {
// 新zyc
// target: 'http://192.168.6.116:8777',
// target: 'http://192.168.6.122:8777',
// target: 'http://192.168.3.14:13000',
// target: 'http://192.168.10.25:2888',
// target: 'http://192.168.6.161:9777',//CY
// target: 'http://192.168.10.57:13000',
// tjj
// sst
// target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.29:13000',
target: 'http://h5uapi.huitongys.com',
// target: 'http://test.api.huitongys.com',
// target: 'http://192.168.3.5:13000',//?
// target: 'http://h5uapi.huitongys.com',
target: 'http://test.api.huo5you.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},

Loading…
Cancel
Save