uniapp转webview版快应用后,template里无法调用到wxs,这个问题能解决吗?
引用:
<script module="tool" lang="renderjs" src="../../common/wxs/tool.js"></script>
提示:
06-22 12:12:20.544 E/jsLog (28879): [Vue warn]: Property or method "tool" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
06-22 12:12:20.544 E/jsLog (28879):
06-22 12:12:20.544 E/jsLog (28879): (found in pages/measurement/measurement.vue)
06-22 12:12:20.544 E/jsLog (28879): [Vue warn]: Error in render: "TypeError: Cannot read property 'getDate' of undefined"
5 个回复
p***@163.com (作者) - NICE
https://uniapp.dcloud.io/frame?id=wxs 规范里没有写快应用应该如何使用
p***@163.com (作者) - NICE
有人知道吗?
p***@163.com (作者) - NICE
顶一下
DCloud_heavensoft
wxs,目前只有微信、app-vue、h5支持,其他平台自身不支持
p***@163.com (作者)
快应用有没有类似的技术呢?就像支付宝的sjs这种的?
2020-06-23 08:25
p***@163.com (作者) - NICE
刚刚看了vivo的文档里有写,小程序写快应用时wxs转为qjs,可不可行?
https://dev.vivo.com.cn/documentCenter/doc/348