exit.uvue 350 字节
Newer Older
DCloud-WZF's avatar
DCloud-WZF 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<template>
  <view>
    <button @tap="exitAppClick">退出应用</button>
  </view>
</template>

<script>
  export default {
    methods: {
      exitAppClick: function () {
        uni.exit({
          success: function (res) {
            console.log(res)
          }
        })
      }
    }
  }
</script>

<style>

</style>