mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 04:32:49 +00:00
perf: 优化移动端布局
This commit is contained in:
parent
ebbde8afd3
commit
095a238fff
10
resources/assets/js/functions/web.js
vendored
10
resources/assets/js/functions/web.js
vendored
@ -767,6 +767,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
config.onCancel();
|
||||
}
|
||||
};
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.confirm({
|
||||
render: (h) => {
|
||||
return h('div', [
|
||||
@ -840,6 +841,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
})
|
||||
}
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.confirm($A.modalConfig(config));
|
||||
},
|
||||
|
||||
@ -851,6 +853,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
setTimeout(() => { $A.modalSuccess(config) }, millisecond);
|
||||
return;
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.success($A.modalConfig(config));
|
||||
},
|
||||
|
||||
@ -862,6 +865,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
setTimeout(() => { $A.modalInfo(config) }, millisecond);
|
||||
return;
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.info($A.modalConfig(config));
|
||||
},
|
||||
|
||||
@ -876,6 +880,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
setTimeout(() => { $A.modalWarning(config) }, millisecond);
|
||||
return;
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.warning($A.modalConfig(config));
|
||||
},
|
||||
|
||||
@ -890,6 +895,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
setTimeout(() => { $A.modalError(config) }, millisecond);
|
||||
return;
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
$A.Modal.error($A.modalConfig(config));
|
||||
},
|
||||
|
||||
@ -897,6 +903,7 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
if (msg === false) {
|
||||
return;
|
||||
}
|
||||
$A.eeuiAppKeyboardHide()
|
||||
alert($A.L(msg));
|
||||
},
|
||||
|
||||
@ -936,6 +943,9 @@ import {convertLocalResourcePath} from "../components/Replace/utils";
|
||||
},
|
||||
|
||||
noticeSuccess(config) {
|
||||
if (config === false) {
|
||||
return;
|
||||
}
|
||||
$A.Notice.success($A.noticeConfig(config));
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user