|
@@ -23,10 +23,12 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
- 'formData.changJingId' () {
|
|
|
|
|
- // console.log('5555')
|
|
|
|
|
- this.qrcode()
|
|
|
|
|
- console.log(window.qrTimer)
|
|
|
|
|
|
|
+ 'formData.changJingId': {
|
|
|
|
|
+ handler () {
|
|
|
|
|
+ this.qrcode()
|
|
|
|
|
+ },
|
|
|
|
|
+ immediate: true
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted () {
|
|
mounted () {
|
|
@@ -40,7 +42,6 @@ export default {
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
qrcode () {
|
|
qrcode () {
|
|
|
- console.log(this.formData.changJingId)
|
|
|
|
|
const qrcode = new QRCode('qrcode', {
|
|
const qrcode = new QRCode('qrcode', {
|
|
|
width: 132,
|
|
width: 132,
|
|
|
height: 132,
|
|
height: 132,
|