![](https://img-blog.csdnimg.cn/20190918140053667.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
微信
微信h5
weixin_42397018
这个作者很懒,什么都没留下…
展开
-
Taro小程序MiniProgramError Super expression must either be null or a function
使用Taro3.0版本写微信小程序写类组件控制台输出:MiniProgramError Super expression must either be null or a function import React from "react"; import Taro from "@tarojs/taro"; import { View } from "@tarojs/components"; import { styled } from "linaria/react"; const Wrapper =原创 2020-07-08 23:21:41 · 2687 阅读 · 1 评论 -
微信h5中使用wx.chooseImage选择手机相册图片后转换为base64格式
首先JSSDK的使用直接看文档配置。 默认我们都已经可以正常使用图像接口。 转换格式使用以下两个图像接口。 核心代码 async handleChoose(){ // 某个点击事件的处理函数 let that = this; wx.ready(function(){ wx.chooseImage({ count: 1, // 默认9 sizeType: ['compressed'], success: function (res原创 2020-05-13 23:45:53 · 2643 阅读 · 0 评论