generated from duanshuwen/webapp-vue-frontend
feat: 调试
This commit is contained in:
@@ -12,15 +12,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const handleClick = () => {
|
||||
// 确保在wx.ready中调用
|
||||
wx.ready(() => {
|
||||
// 关闭当前webview页面
|
||||
wx.miniProgram.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
})
|
||||
}
|
||||
const handleClick = () => wx.closeWindow()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user