tion () {

            $('.wx_qrcode').qrcode({
                render: "canvas",
                width: 150,
                height: 150,
                text: "#{$user.wechat}"
            });

            User.upload(".avatar-input", res => {
                $('input[name=avatar]').val(res.path);
                $('.avatar-img').attr("src", res.path);
            });

            User.upload(".wechat-input", res => {
                $('input[name=wechat]').val(res.path);
                $('.wx_qrcode').h