Merge branch 'temp' of http://123.60.103.97:3000/xuziqiang/SaaS-lib into temp
This commit is contained in:
@@ -129,11 +129,13 @@ export const importFile = (
|
||||
headers: { token: Cookies.get(`${import.meta.env.VITE_PUBLIC_PATH}-nervsid`) },
|
||||
})
|
||||
.then((res) => {
|
||||
if (res) {
|
||||
if (res.data.data) {
|
||||
NsMessage.success('导入成功', 1, () => {
|
||||
reload && reload();
|
||||
successBack && successBack(res);
|
||||
});
|
||||
} else {
|
||||
NsMessage.error(res.data.msg || '导入失败');
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
Reference in New Issue
Block a user