RuoYi-Vue-Plus/mini-app/src/pages/webView/web.wpy
2021-01-20 18:08:35 +08:00

44 lines
492 B
Plaintext

<style lang="less">
</style>
<template>
<web-view src="{{currWebUrl}}" />
</template>
<script>
import wepy from '@wepy/core'
import store from '@/store'
import { mapActions, mapState } from '@wepy/x'
wepy.page({
store,
hooks: {
},
data: {
url: ''
},
computed: mapState(['currWebUrl']),
methods: {
},
ready() {
this.url = store.state.currWebUrl
}
})
</script>
<config>
{
navigationBarTitleText: '详情',
navigationBarTextStyle: 'black',
}
</config>