优化
This commit is contained in:
1 parent
dc304d31d9
commit
6932f767c9
23 files changed
+116
-65
No files matched your search
@@ -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 = () => {
|
||||
|
||||
Reference in new issue
Block a user