Commit b9bda942 by 张立顺

合并代码

1 parent 2addda94
...@@ -52,13 +52,13 @@ Component({ ...@@ -52,13 +52,13 @@ Component({
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
// 实例化二维码canvas
ewmChange(url) { ewmChange(url) {
let size = {} let size = {}
size.w = (wx.getSystemInfoSync().windowWidth / 750) * 600 size.w = (wx.getSystemInfoSync().windowWidth / 750) * 600
size.h = size.w size.h = size.w
var that = this var that = this
// ctx: wx.createCanvasContext('myQrcode'),
drawQrcode({ drawQrcode({
width: size.w, width: size.w,
height: size.h, height: size.h,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!