fix(接口测试): 修复无项目权限的操作人执行提示没有环境的缺陷

--bug=1019502 --user=王孝刚 【接口测试】导入的场景-编辑保存运行环境后,列表中执行仍提示未选择运行环境
https://www.tapd.cn/55049933/s/1292268
This commit is contained in:
wxg0103 2022-11-08 16:27:49 +08:00 committed by wxg0103
parent 64fc99d18f
commit 48bd542bf1
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@
</template>
<script>
import {getCurrentProjectID, getCurrentWorkspaceId, getUUID} from "@/common/js/utils";
import {getUUID, getCurrentProjectID, getCurrentWorkspaceId} from "@/common/js/utils";
import {getUrl} from "@/business/components/api/automation/scenario/component/urlhelper";
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
@ -495,7 +495,7 @@ export default {
this.$get('/project/getOwnerProjectIds', res => {
const project = res.data.find(p => p === this.request.projectId);
if (!project) {
this.$warning(this.$t('commons.project_no_permission'));
this.$warning(this.$t('api_test.automation.project_no_permission'));
} else {
let selectEnvId;
//