fix(项目设置): 添加git文件失败时不会再刷新表格内容

--bug=1026465 --user=宋天阳 【项目管理】文件管理,github文件拉取,第一次失败后,再次拉取也会失败
https://www.tapd.cn/55049933/s/1374916
This commit is contained in:
song-tianyang 2023-05-24 10:58:11 +08:00 committed by fit2-zhao
parent e560dc110e
commit e659537594

View File

@ -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;
});
}