no message

This commit is contained in:
kuaifan 2025-03-04 09:33:26 +08:00
parent 622fe1e5d9
commit b65fdeacc2
3 changed files with 14 additions and 1 deletions

View File

@ -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) => {

View File

@ -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