- 修改 ArticleController.java - 更新 application.yml 配置 - 更新 frontend/.env.production 环境配置 - 添加 single_uniapp22miao 小程序模块 - 添加 logs 目录
27 lines
342 B
Vue
27 lines
342 B
Vue
<template>
|
|
<view class="webview-page">
|
|
<web-view :src="url"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
url: ''
|
|
}
|
|
},
|
|
|
|
onLoad(options) {
|
|
this.url = decodeURIComponent(options.url || '');
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.webview-page {
|
|
height: 100vh;
|
|
}
|
|
</style>
|
|
|