提交 da43af73 编写于 作者: 杜庆泉's avatar 杜庆泉

add uni-exit demo

上级 bd10915f
......@@ -183,6 +183,12 @@
"navigationBarTitleText": "getApp"
}
},
{
"path": "pages/API/exit/exit",
"style": {
"navigationBarTitleText": "exit"
}
},
{
"path": "pages/API/get-current-pages/get-current-pages",
"style": {
......
<template>
<view>
<button @tap="quitAppClick">退出应用</button>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
quitAppClick:function(){
uni.quitApp()
}
}
}
</script>
<style>
</style>
\ No newline at end of file
......@@ -470,7 +470,7 @@ export default {
{
name: 'exit退出',
url: 'exit',
enable: false,
enable: true
},
] as Page[],
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册