@@ -41,8 +41,12 @@ export default {
num(val) {
this.val = val
},
- focus(val) {
- this.keyShow = val
+ focus: {
+ deep: true,
+ handler: function(val) {
+ this.keyShow = val
+ },
+ immediate:true
}
methods: {
@@ -139,6 +139,7 @@
})
this.inpFocus = true
+ // #ifdef MP-WEIXIN
// 设置分享
let shareParams = {
title: `点击结账付款`,
@@ -146,10 +147,9 @@
imgUrl: '',
pagePath: `/admin/ghs/pay?id=${this.id}&salt=${this.salt}`
- // #ifdef MP-WEIXIN
this.jweixinFn(shareParams)
- // #endif
console.log(`/admin/ghs/pay?id=${this.id}&salt=${this.salt}`)
+ // #endif
toPay() {
if (!this.amount) {