123456789101112131415161718192021222324252627 |
- <template>
- <view>
- <web-view :src="href"></web-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- href: ""
- };
- },
- onLoad(option) {
- if(option.mine_code == 'zaoquan' && option.workBench == 'pingce'){
- this.href = "http://webdevelop.nxjiewei.com/assets/html/pingce/?mine_code=zaoquan&token=" + uni.getStorageSync('Authorization')
- }else{
- this.href = option.url + "?token="+uni.getStorageSync('Authorization')
- }
-
- }
- }
- </script>
- <style lang="scss">
- </style>
|