【发布时间】:2020-01-04 06:18:32
【问题描述】:
我正在尝试使用 vue-native-cli 制作 webview 应用程序
我正在尝试在documents 的帮助下使用 web-view 组件
这是我的页面
<template>
<web-view
:source="'https://google.com'"
:style="{marginTop: 20}"
/>
</template>
<script>
export default {
methods: {
}
}
</script>
<style>
</style>
当我使用时
<view class="text-container">
<text>Hello World</text>
</view>
它工作正常,但在 webview 中得到
invarian voilation:元素类型无效
【问题讨论】:
标签: vue-native