Commit 46716204 by 无尘

fix: 修改版本列表默认环境

parent ae4633e9
...@@ -359,8 +359,15 @@ export default { ...@@ -359,8 +359,15 @@ export default {
if (resData.code == '0000') { if (resData.code == '0000') {
that.envOptions = resData.result || []; that.envOptions = resData.result || [];
if (resData.result.length) { if (resData.result.length) {
that.sceneCode = resData.result[0].sceneCode; resData.result.forEach( ele => {
that.getData(); if (ele.defaultFlag == 1) {
that.sceneCode = ele.sceneCode;
}
})
that.$nextTick(() => {
that.getData();
})
} }
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment