bug
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
:style="{left: x + 'px', top: y + 'px', transform: 'scale(' + watermarkScale + ')', transformOrigin: 'left' }"
|
:style="{left: x + 'px', top: y + 'px', transform: 'scale(' + watermarkScale + ')', transformOrigin: 'left' }"
|
||||||
@touchstart="onTouchstart"
|
@touchstart="onTouchstart"
|
||||||
@touchmove="onTouchmove">
|
@touchmove="onTouchmove">
|
||||||
<component ref="WatermarkItem" :address="address" :is="'Watermark' + (currIndex + 1)" :config="currWatermarkConfig"></component>
|
<component ref="WatermarkItem" :addressInfo="address" :is="'Watermark' + (currIndex + 1)" :config="currWatermarkConfig"></component>
|
||||||
<div v-if="!isHide" @click.stop="currIndex = -1" class="watermark-close" data-html2canvas-ignore>
|
<div v-if="!isHide" @click.stop="currIndex = -1" class="watermark-close" data-html2canvas-ignore>
|
||||||
<image src="./images/close-b.png" />
|
<image src="./images/close-b.png" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ['config', 'address'],
|
props: ['config', 'addressInfo'],
|
||||||
|
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
|
|
||||||
address: {
|
addressInfo: {
|
||||||
handler: function (v) {
|
handler: function (v) {
|
||||||
if (v.address) {
|
if (v.address) {
|
||||||
this.address = uni.getStorageSync('address').address || ''
|
this.address = uni.getStorageSync('address').address || ''
|
||||||
|
|||||||
Reference in New Issue
Block a user