fix(接口测试): 修复无项目权限的操作人执行提示没有环境的缺陷
--bug=1019502 --user=王孝刚 【接口测试】导入的场景-编辑保存运行环境后,列表中执行仍提示未选择运行环境 https://www.tapd.cn/55049933/s/1292268
This commit is contained in:
parent
64fc99d18f
commit
48bd542bf1
|
@ -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;
|
||||
// 自定义请求
|
||||
|
|
Loading…
Reference in New Issue