fix(项目管理): 修复环境点击sql不显示数据源的缺陷
--bug=1038248 --user=王孝刚 【项目管理】环境管理-前/后置SQL-引入数据源暂无数据-再打开一个新的环境有可引入数据源的-也显示暂无数据 https://www.tapd.cn/55049933/s/1504556
This commit is contained in:
parent
447798af0d
commit
51e5f5fe03
|
@ -131,6 +131,8 @@ const useProjectEnvStore = defineStore(
|
||||||
currentEnvDetailInfo.value = { ...tmpObj };
|
currentEnvDetailInfo.value = { ...tmpObj };
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
backupEnvDetailInfo.value = cloneDeep(currentEnvDetailInfo.value);
|
backupEnvDetailInfo.value = cloneDeep(currentEnvDetailInfo.value);
|
||||||
|
appStore.currentEnvConfig = cloneDeep(currentEnvDetailInfo.value.config);
|
||||||
|
appStore.currentEnvConfig.id = currentEnvDetailInfo.value.id;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue