首次提交
This commit is contained in:
16
pages/index/webView.vue
Normal file
16
pages/index/webView.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<web-view :src="url"></web-view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
url: null //要打开的外部链接
|
||||
}
|
||||
},
|
||||
onLoad: function (option) {
|
||||
this.url = option.url
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user