sharepuser.vue 514 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <view>
  3. </view>
  4. </template>
  5. <script>
  6. var _this;
  7. export default {
  8. data() {
  9. return {}
  10. },
  11. onLoad: function(option) {
  12. _this = this;
  13. const parentid = option.parentid;
  14. if ( isNaN(parentid)==false ){
  15. uni.setStorageSync('parentid', parentid);
  16. } else {
  17. const scene = decodeURIComponent(option.scene);
  18. if ( isNaN(scene)==false ){
  19. uni.setStorageSync('parentid', scene);
  20. }
  21. }
  22. uni.reLaunch({
  23. url: "/pages/my/my"
  24. });
  25. },
  26. }
  27. </script>
  28. <style>
  29. </style>