多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
315 B

2 years ago
2 years ago
  1. <template>
  2. <view>
  3. <web-view :src="url"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. url: ''
  11. }
  12. },
  13. onLoad(e) {
  14. // 获取传递过来的链接
  15. this.url = `${e.url}/#/?&username=${e.username}&user=${e.user}&t=1`
  16. console.log(this.url)
  17. }
  18. }
  19. </script>