!64 版本升级
* Merge branch 'dev' of gitee.com:JavaLionLi/plus-ui into ts * 升级依赖 * !61 fix: 删除重复环境变量ElUploadInstance * fix: 删除重复环境变量ElUploadInstance
This commit is contained in:
@ -3,6 +3,7 @@ import VueTypes, { createTypes, toValidableType, VueTypeValidableDef, VueTypesIn
|
||||
|
||||
type PropTypes = VueTypesInterface & {
|
||||
readonly style: VueTypeValidableDef<CSSProperties>;
|
||||
readonly fieldOption: VueTypeValidableDef<Array<FieldOption>>;
|
||||
};
|
||||
|
||||
const propTypes = createTypes({
|
||||
|
@ -89,7 +89,6 @@ service.interceptors.request.use(
|
||||
return config;
|
||||
},
|
||||
(error: any) => {
|
||||
console.log(error);
|
||||
return Promise.reject(error);
|
||||
}
|
||||
);
|
||||
@ -138,7 +137,6 @@ service.interceptors.response.use(
|
||||
}
|
||||
return Promise.reject('无效的会话,或者会话已过期,请重新登录。');
|
||||
} else if (code === HttpStatus.SERVER_ERROR) {
|
||||
console.log(msg);
|
||||
ElMessage({ message: msg, type: 'error' });
|
||||
return Promise.reject(new Error(msg));
|
||||
} else if (code === HttpStatus.WARN) {
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
import { getToken } from '@/utils/auth';
|
||||
import useNoticeStore from '@/store/modules/notice';
|
||||
import { ElNotification } from "element-plus";
|
||||
import { ElNotification } from 'element-plus';
|
||||
|
||||
const { addNotice } = useNoticeStore();
|
||||
|
||||
@ -135,7 +135,7 @@ export const websocketonmessage = () => {
|
||||
message: e.data,
|
||||
type: 'success',
|
||||
duration: 3000
|
||||
})
|
||||
});
|
||||
return e.data;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user