Logo white

王明 / DeYangHighTechApp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • DeYangHighTechApp
  • pages
  • apply
  • externalLink
  • index.vue
  • 1
    9b1c150c
    “wangming” authored
    2024-12-02 14:30:42 +0800  
    Browse Code »
index.vue 337 Bytes
Edit Raw Blame History Permalink
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>