Skip to content

Commit f4749cf

Browse files
author
张晨曦
committed
修复数据治理tabs remove后数据没变的bug
1 parent 4cc31d4 commit f4749cf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

web/src/apps/dataGovernance/module/dataGovernance/assetsIndex.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,18 @@ export default {
114114
115115
const removeAction = () => {
116116
if (that.currentTab.guid === modal.guid) {
117-
const { guid } = that.currentTab;
118117
const workspaceId = that.$route.query.workspaceId;
119118
if (len > 1 && idx < len - 1) {
120119
that.currentTab = topTapList[idx + 1];
120+
let guid = that.currentTab.guid;
121121
that.$router.push({
122122
name: "dataGovernance/assets/info",
123123
params: { guid },
124124
query: { workspaceId }
125125
});
126126
} else if (len > 1 && idx == len - 1) {
127127
that.currentTab = topTapList[idx - 1];
128+
let guid = that.currentTab.guid;
128129
that.$router.push({
129130
name: "dataGovernance/assets/info",
130131
params: { guid },

web/vue.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ module.exports = {
247247
devServer: {
248248
proxy: {
249249
"/api": {
250-
target: "http://***REMOVED***:8088",
250+
//target: "http://***REMOVED***:8088",
251251
//target: 'http://***REMOVED***:9202', //yichao
252252
// target: "http://***REMOVED***:9202", //jiawei
253-
// target: "http://luban.ctyun.cn:8088",
253+
target: "http://luban.ctyun.cn:8088",
254254
//target: "http://devluban.ctyun.cn:8088",
255255
changeOrigin: true,
256256
pathRewrite: {

0 commit comments

Comments
 (0)