index.vue 480 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <view>
  3. <web-view :src="linkUrl"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. import { linkRoadshowUrl } from '@/utils/config.js';
  8. export default {
  9. data() {
  10. return {
  11. };
  12. },
  13. computed: {
  14. linkUrl() {
  15. const token = uni.getStorageSync('token');
  16. const { RoleTypeCode } = JSON.parse(uni.getStorageSync('userInfo'));
  17. return `${linkRoadshowUrl}/roadshow/mine?token=${token}&role=${RoleTypeCode}`;
  18. }
  19. }
  20. }
  21. </script>
  22. <style lang="scss">
  23. </style>