我们也出现相同的问题,怎么处理速度这么慢呢
JSAPI支付成功后回调返回值为空我司生产系统通过微信支付的JSAPI接口缴费成功后,服务器接收到的微信回执显示“返回数据为空”以及另外一种提示“ 签名出错:<xml><return_code><![CDATA[FAIL]]></return_code><return_msg><![CDATA[将空的xml串转换为WxPayData不合法!]]></return_msg></xml>”,详见附件截图,问题发生是在昨天19点34分左右,突然就不行了,十万火急,还请尽快予以答复解决,谢谢。[图片][图片]
09-23这个问题有解决方案了吗
Invalid context type [webgl2] for Canvas#getContex<template> <view class="index"> <nut-button type="primary" @click="handleClick">拍照或选择图片</nut-button> </view> </template> <script> import { reactive, toRefs, ref, onMounted } from "vue"; import { Dongdong } from "@nutui/icons-vue-taro"; import Taro from "@tarojs/taro"; import * as paddlejs from '@paddlejs/paddlejs-core'; import '@paddlejs/paddlejs-backend-webgl'; const plugin = requirePlugin("paddlejs-plugin"); plugin.register(paddlejs, wx); let pdjs; export default { name: "Index", components: { Dongdong, }, setup() { const state = reactive({ tmpImage: "", }); const handleClick = () => { wx.chooseMedia({ count: 1, mediaType: ["image"], sourceType: ["album", "camera"], success: (value) => { let { errMsg, tempFiles } = value; if (errMsg != "chooseMedia:ok") { Taro.showToast({ title: "选择图片失败", icon: "error", duration: 3000, }); return; } let [firstImage] = tempFiles; state.tmpImage = firstImage.tempFilePath; console.log(state, `success`); }, fail: (err) => { Taro.showToast({ title: "操作失败", icon: "error", duration: 3000, }); }, complete: (done) => { console.log(done); }, }); }; onMounted(() => { pdjs = new paddlejs.Runner({ modelPath: "https://paddlejs.cdn.bcebos.com/models/mobilenetV2_nchw", feedShape: { fw: 224, fh: 224, }, fill: "#fff", targetSize: { height: 224, width: 224, }, mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], }); pdjs.init().then(() => { // 初始化完成 console.log("init model") }); }); return { ...toRefs(state), handleClick, }; }, }; </script> <style lang="scss"> .index { font-family: "Avenir", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; } </style>
04-04