个人案例
- InnerAudioContext(iOS真机调试报错)?
InnerAudioContext(iOS真机调试报错) column: 840045 line: 1 message: "undefined is not an object (evaluating 'r.failCallbacks')" sourceURL: "https://lib/WAServiceMainContext.js" stack: "@https://lib/WAServiceMainContext.js:1:840045" [图片] play() { clearInterval(this.data.exercise_timer); const file = this.data.curExercise.audio.file; innerAudioContext.src = file; innerAudioContext.onPlay(() => { clearInterval(this.data.audio_timer); let duration = Math.floor(innerAudioContext.duration) * 1000; console.log('播放中'); this.data.audio_timer = setInterval(() => { innerAudioContext.seek(0); if (this.data.audio_status === '播放') return; console.log("audio_timer / 104 => ", this.data.audio_timer); }, duration); }); innerAudioContext.play(); this._timer(); this.setData({ audio_status: '结束' }); },
2022-11-26 - 添加分账接收方成功后查询不到?
云开发添加分账接收方成功后,在微信支付后台查询不到。 该商户号同时绑定了两个不同的小程序(appid),用户也同时使用了两个小程序,并申请分账 这两个小程序生成了不同的openid,是不是微信支付后台查询,因为是同一用户,所以仅显示了一条记录 [图片]
2022-11-18 - mobx-miniprogram-bindings 实时更新数据?
为什么调用 updates 方法,不能实时更新 data 内的数据(19行),而是需要加上 setTimeout 才可以实时更新(21行) [图片] index.js updates() { this.update() console.log("update => 19", this.data.global) setTimeout(() => { console.log("update => 21", this.data.global) }, 10); } global.js import { observable, action } from "mobx-miniprogram"; const numc = 0; export const global = observable({ numA: 1, numB: 2, numC: numc, get sum() { return this.numA + this.numB; }, update: action(function () { const sum = this.sum; this.numA = this.numB; this.numB = sum; }), });
2022-11-04 - 云开发微信支付分账功能?
云开发微信支付分账功能有没有测试接口,可以先调试。现在调用接口报错“无分账权限”
2022-10-24 - 云开发微信支付分账如何获得服务商授权?
云开发微信支付分账如何获得服务商授权?
2022-10-20 - 添加分账接收方报错"sub_mch_id is not bound."?
添加分账接收方报错"sub_mch_id is not bound."? [图片]
2022-10-20 - 新注册的小程序不能复用同主体的其它小程序商户号?
新注册的小程序灰度后,原微信支付变成了支付管理,不能复用同主体的其它小程序商户号了吗?
2022-10-09 - 第三方平台(批量代云开发)是否可以用小程序做管理后台?
想单独做一款小程序(云开发),来作为第三方平台(批量代云开发)的管理后台,请问这种可以接收到component_verify_ticket 和component_access_token吗?
2022-09-07 - 新版开发工具报错Cannot read property 'querySelector'?
新版开发工具报错 [渲染层错误] inspectee DOM.querySelector error: TypeError: Cannot read property 'querySelector' of undefined(env: macOS,mp,1.06.2209060; lib: 2.26.0) [渲染层错误] inspectee DOM.requestChildNodes error: TypeError: Cannot read property 'setAttribute' of undefined(env: macOS,mp,1.06.2209060; lib: 2.26.0) [图片]
2022-09-06 - 关于第三方平台审核?
我想通过一款独立的小程序来做第三方平台(批量代云开发)的后台管理系统,但是官方审核需要官网,请问官网只有首页,商户可以通过扫首页上的小程序码来体验和管理代开发的小程序,这样可以审核通过吗?
2022-09-06