mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(项目设置): 添加git文件失败时不会再刷新表格内容
--bug=1026465 --user=宋天阳 【项目管理】文件管理,github文件拉取,第一次失败后,再次拉取也会失败 https://www.tapd.cn/55049933/s/1374916
This commit is contained in:
parent
e560dc110e
commit
e659537594
@ -44,17 +44,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getCurrentProjectID,
|
||||
getCurrentUserId,
|
||||
} from "metersphere-frontend/src/utils/token";
|
||||
import {
|
||||
getUUID,
|
||||
listenGoBack,
|
||||
removeGoBackListener,
|
||||
} from "metersphere-frontend/src/utils";
|
||||
import {getCurrentProjectID, getCurrentUserId,} from "metersphere-frontend/src/utils/token";
|
||||
import {getUUID, listenGoBack, removeGoBackListener,} from "metersphere-frontend/src/utils";
|
||||
import MsDialogFooter from "metersphere-frontend/src/components/MsDialogFooter";
|
||||
import { createFileMeta, editFileMeta } from "@/api/file";
|
||||
import {createFileMeta, editFileMeta} from "@/api/file";
|
||||
|
||||
export default {
|
||||
name: "FileMetadataDialog",
|
||||
@ -114,7 +107,6 @@ export default {
|
||||
this.close();
|
||||
})
|
||||
.catch(() => {
|
||||
this.$emit("refresh");
|
||||
this.isSaveBtnLoading = false;
|
||||
});
|
||||
} else {
|
||||
@ -132,7 +124,6 @@ export default {
|
||||
this.close();
|
||||
})
|
||||
.catch(() => {
|
||||
this.$emit("refresh");
|
||||
this.isSaveBtnLoading = false;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user