fix(系统设置): 点击项目下拉框的创建按钮,跳转到项目列表后没有显示项目创建窗口

--bug=1018492 --user=李玉号
【通用功能】在测试跟踪/接口测试等页面,点击项目下拉框的创建项目按钮,跳转到项目列表后没有显示项目创建窗口
https://www.tapd.cn/55049933/s/1269991
This commit is contained in:
shiziyuan9527 2022-10-20 17:36:38 +08:00 committed by lyh
parent 3a6f8f2fcd
commit 8e881a8f49
1 changed files with 5 additions and 3 deletions

View File

@ -88,8 +88,8 @@
<el-dialog
v-loading="memberTableLoading"
:close-on-click-modal="false" :visible.sync="memberVisible" width="70%" :destroy-on-close="true"
@close="close"
class="dialog-css">
@close="close"
class="dialog-css">
<template v-slot:title>
<ms-table-header :condition.sync="dialogCondition" @create="open" @search="list" :have-search="false"
:create-permission="['WORKSPACE_PROJECT_MANAGER:READ+ADD_USER']"
@ -275,8 +275,10 @@ export default {
mounted() {
if (this.$route.path.split('/')[2] === 'project' &&
this.$route.path.split('/')[3] === 'create') {
this.create();
this.$router.replace('/setting/project/all');
setTimeout(() => {
this.create();
}, 200)
}
this.list();
this.getMaintainerOptions();