Blame view

pages/apply/externalLink/index_1.vue 337 Bytes
290144e9   易尊强   第一次
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <template>
  	<view>
  		<web-view :src="url"></web-view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
  				url: ''
  			}
  		},
  		onLoad(option) {
  			this.url = decodeURIComponent(option.url)
  			const title = option.fullName || ''
  			if (!title) return
  			uni.setNavigationBarTitle({
  				title
  			})
  		}
  	}
  </script>