@@ -142,8 +142,17 @@ const setupKeyboardListeners = async () => {
});
};
+const goBack = () => {
+ router.push("im");
+};
+const goDetail = () => {
+ router.push("detail");
+}
+
onUnmounted(() => {
- Keyboard.removeAllListeners();
+ if (Capacitor.getPlatform() !== 'web') {
+ Keyboard.removeAllListeners();
+ }
</script>