变更
This commit is contained in:
parent
378db9dd75
commit
6cd84e0021
@ -198,7 +198,7 @@ const _sfc_main = defineComponent({
|
||||
const errorF = (errorText) => {
|
||||
let currentTimeStamp = new Date().valueOf();
|
||||
let errorMsg = errorText ? errorText : defaultErrorMsg;
|
||||
errorMsg = `layui-vue:${errorMsg}`;
|
||||
errorMsg = `${errorMsg}`;
|
||||
console.warn(errorMsg);
|
||||
layer.msg(errorMsg, { icon: 2, time: 1e3 }, function(res) {
|
||||
});
|
||||
|
@ -48613,7 +48613,7 @@ const _sfc_main$7 = defineComponent({
|
||||
const errorF = (errorText) => {
|
||||
let currentTimeStamp = new Date().valueOf();
|
||||
let errorMsg = errorText ? errorText : defaultErrorMsg;
|
||||
errorMsg = `layui-vue:${errorMsg}`;
|
||||
errorMsg = `${errorMsg}`;
|
||||
console.warn(errorMsg);
|
||||
layer.msg(errorMsg, { icon: 2, time: 1e3 }, function(res) {
|
||||
});
|
||||
|
@ -264,7 +264,7 @@ const dataURLtoFile = (dataurl: string) => {
|
||||
const errorF = (errorText: string) => {
|
||||
let currentTimeStamp = new Date().valueOf();
|
||||
let errorMsg = errorText ? errorText : defaultErrorMsg;
|
||||
errorMsg = `layui-vue:${errorMsg}`;
|
||||
errorMsg = `${errorMsg}`;
|
||||
console.warn(errorMsg);
|
||||
layer.msg(errorMsg, { icon: 2, time: 1000 }, function (res: unknown) {});
|
||||
emit("error", Object.assign({ currentTimeStamp, msg: errorMsg }));
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user