Skip to content

qq1037305420/wx-js-sdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

需要在main.js引用改文件

和Vue-router一起使用,如若改变/#之前的Url需要重新授权

import('@/common/wxsdk')
import WXSDK from '@/common/wxsdk';
WXSDK.chooseImage().then(res => {
    // 本地图片Ids
});
await WXSDK.uploadImage(this.src); // 上传到微信服务器

About

wx-js-sdk封装类

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published