<template> <view class="box"> <web-view :webview-styles="webviewStyles" :src="url"></web-view> </view> </template> <script> import app from "../../App.vue"; export default { data() { return { showbanben: false } }, onLoad(options) { console.log(options) this.url=uni.getStorageSync("url"); console.log(this.url) }, methods: { } } </script> <style> </style>