mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
no message
This commit is contained in:
parent
622fe1e5d9
commit
b65fdeacc2
@ -576,6 +576,7 @@ export default {
|
||||
this.$store.state.keyboardType = event.keyboardType;
|
||||
this.$store.state.keyboardHeight = event.keyboardHeight;
|
||||
this.$store.state.safeAreaBottom = event.safeAreaBottom;
|
||||
$A.eeuiAppShakeToEditEnabled(this.$store.state.keyboardType === 'show')
|
||||
}
|
||||
// 通知权限
|
||||
window.__onNotificationPermissionStatus = (ret) => {
|
||||
|
||||
12
resources/assets/js/functions/eeui.js
vendored
12
resources/assets/js/functions/eeui.js
vendored
@ -249,6 +249,18 @@
|
||||
obj.setScrollEnabled(enabled);
|
||||
})
|
||||
},
|
||||
|
||||
// 设置应用程序级别的摇动撤销
|
||||
eeuiAppShakeToEditEnabled(enabled) {
|
||||
if (!$A.isEEUiApp) return;
|
||||
$A.eeuiModule("eeui").then(obj => {
|
||||
if (enabled) {
|
||||
obj.shakeToEditOn();
|
||||
} else {
|
||||
obj.shakeToEditOff();
|
||||
}
|
||||
})
|
||||
},
|
||||
});
|
||||
|
||||
window.$A = $;
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 7a1b2da5c593aa32748fcf83c898ded9a084649b
|
||||
Subproject commit 0aa8de2624ddc4c9f71acd1997479b05e19c6f11
|
||||
Loading…
x
Reference in New Issue
Block a user