Feat(AI):增加参数,只有通过点击才能进入,以便微信审核

This commit is contained in:
lifizer
2025-04-14 14:47:39 +08:00
parent aa58754f1c
commit 4fa9c6a594
4 changed files with 14 additions and 7 deletions
+5 -1
View File
@@ -68,7 +68,11 @@ export const chatMixins = {
}
}.bind(this)).exec()
},
onLoad() {
onLoad(options) {
if (!options.click) {
uni.switchTab({ url: '/pages/home/index' })
return
}
// 监听键盘高度变化
wx.onKeyboardHeightChange((res) => {
console.log('监听键盘高度变化%s', res.height)