open-app-authorize-setting.uvue 516 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <!-- #ifdef APP -->
  3. <scroll-view style="flex:1">
  4. <!-- #endif -->
  5. <button type="primary" style="margin: 20px;" @tap="go">跳转系统授权管理页</button>
  6. <!-- #ifdef APP -->
  7. </scroll-view>
  8. <!-- #endif -->
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. }
  15. },
  16. methods: {
  17. go() {
  18. uni.openAppAuthorizeSetting({
  19. success (res) {
  20. console.log(res)
  21. }
  22. })
  23. }
  24. }
  25. }
  26. </script>
  27. <style>
  28. </style>