This commit is contained in:
Horis committed 2023-04-14 22:14:04 +08:00
1 parent dc304d31d9
commit 6932f767c9
23 files changed
+116 -65

No files matched your search

+6 -1
View File
@@ -72,6 +72,11 @@ import { isInvaildSource } from "../utils/souce";
const store = useSourceStore();
const pull = () => {
const loadingMsg = ElMessage({
message: '加载中……',
showClose: true,
duration: 0
})
API.getSources().then(({ data }) => {
if (data.isSuccess) {
store.changeTabName("editList");
@@ -86,7 +91,7 @@ const pull = () => {
type: "error",
});
}
});
}).finally(() => loadingMsg.close());
};
const push = () => {