文件
OmniCard/mpuniapp/pages/API/open-app-authorize-setting/open-app-authorize-setting.uvue

28 行
484 B
Plaintext

<template>
<!-- #ifdef APP && !VUE3-VAPOR -->
<scroll-view style="flex:1">
<!-- #endif -->
<button type="primary" style="margin: 20px;" @tap="go">跳转系统授权管理页</button>
<!-- #ifdef APP && !VUE3-VAPOR -->
</scroll-view>
<!-- #endif -->
</template>
<script setup lang="uts">
const go = () => {
uni.openAppAuthorizeSetting({
success (res) {
console.log(res)
}
})
}
defineExpose({
go
})
</script>
<style>
</style>