vue + iview 地址选择器(100%实现有赞后台地址选择器) 您所在的位置:网站首页 vue地区选择器组件 vue + iview 地址选择器(100%实现有赞后台地址选择器)

vue + iview 地址选择器(100%实现有赞后台地址选择器)

2023-09-06 12:49| 来源: 网络整理| 查看: 265

微信小程序组件内(component)canvas元素的坑 canvasToTempFilePath: fail canvas is empty

痴心阿文: let that = this ctx.draw(true, (()=> { console.log("this.canvasStyle", that.canvasStyle) uni.canvasToTempFilePath({ canvasId: 'confirmBillDetail', destWidth: 2479, destHeight: 3508, success: (res)=> { // 在H5平台下,tempFilePath 为 base64 console.log('生成的路径', res.tempFilePath) uni.uploadFile({ url: that.$url.upload, filePath: res.tempFilePath, name: 'file', header: { token: that.$store.state.token, version: '10.00.0' }, success: (res)=>{ console.log("resshangchuanchenggong", JSON.parse(res.data).url) console.log("that.useHeight", that.useHeight) that.$emit('detailUrl', {url:JSON.parse(res.data).url, goodsLength: that.goodsList.length}) }, fail: (res)=> { console.log("shangchuanshibai", res) } }) }, fail: (res)=>{ console.log("失败了", res) }, complete: (res)=> { conso



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有