- 使用自定义tabbar时用reLaunch重定向到非tab页面,自定义tab监听detached无效
[图片] 导入代码片段,点击到我的,然后再点击 toTest,自定义 tabbar 中的 detached 生命周期没触发
08-30 - Property or method "toJSON" is not defined on the
通过 [代码]vue-cli[代码] 创建 [代码]uni-app[代码] 项目。在项目中新建任意组件,通过ref获取组件对象报错 Property or method "toJSON" 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. (found in pages/index/index.vue)(env: Windows,mp,1.05.2105272; lib: 2.17.0 具体代码如下 index.vue <template> <view class="content"> <image class="logo" src="/static/logo.png"></image> <view> <text class="title">{{ title }}</text> </view> <Navbar ref="liveBarrage"></Navbar> </view> </template> <script> import Navbar from '@/components/Navbar'; export default { components: { Navbar, }, data() { return { barrageContext: null, title: 'Hello', }; }, onLoad() {}, onShow() { // 获取页面数据 this.barrageContext = this.$refs.liveBarrage; }, methods: {}, }; </script> <style> .content { display: flex; flex-direction: column; align-items: center; justify-content: center; } .logo { height: 200rpx; width: 200rpx; margin: 200rpx auto 50rpx auto; } .text-area { display: flex; justify-content: center; } .title { font-size: 36rpx; color: #8f8f94; } </style> navbar.vue <template> <view></view> </template> <script> export default {}; </script> <style></style> aas
2021-06-02 - ios下video标签全屏显示Bug,如何解决?紧急求助
iOS设备上video播放视频时点击全屏按钮,部分盒子未被隐藏,导致显示出现Bug [图片] 未被隐藏的部分如下所示: [图片][图片]
2021-04-16 - 小程序开发者工具最新开发版 AppData和Storage不见了?
开发者工具版本:1.04.2011162系统:macOS Big Sur 11.0.1 [图片]
2020-11-18 - 微信开发者工具异常卡顿
修改小程序代码后,从编译到模拟器显示阶段,异常卡顿,至少要等20秒,才能显示出来
2018-12-28 - 组件内调用wx.navigateTo失败
组件内调用wx.navigateTo路由跳转失败 [代码]methods: {[代码][代码] [代码][代码]toDetails(event) {[代码][代码] [代码][代码]let id = event.currentTarget.dataset.id;[代码][代码] [代码][代码]wx.navigateTo({[代码][代码] [代码][代码]url: [代码][代码]'/page/product_details'[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]navigateTo:fail page [代码][代码]"page/product_details"[代码] [代码]is not found[代码]页面是已经创建了的 app.json [代码]"pages"[代码][代码]: [[代码][代码] [代码][代码]"pages/index/index"[代码][代码],[代码][代码] [代码][代码]"pages/commodity/index"[代码][代码],[代码][代码] [代码][代码]"pages/shopping_cart/index"[代码][代码],[代码][代码] [代码][代码]"pages/user_center/index"[代码][代码],[代码][代码] [代码][代码]"pages/product_details/index"[代码][代码],[代码][代码] [代码][代码]"pages/test/test"[代码][代码] [代码][代码]][代码]
2018-12-26 - 小程序视频播放证书造假怎么举报
如题:小程序视频播放证书造假怎么举报
2018-08-18