This commit is contained in:
yanran200730
2022-07-28 16:49:56 +08:00
parent dddb7c0fe7
commit aa4a9d3cf5
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
:style="{left: x + 'px', top: y + 'px', transform: 'scale(' + watermarkScale + ')', transformOrigin: 'left' }"
@touchstart="onTouchstart"
@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>
<image src="./images/close-b.png" />
</div>

View File

@@ -15,7 +15,7 @@
<script>
export default {
props: ['config', 'address'],
props: ['config', 'addressInfo'],
data () {
return {
@@ -74,7 +74,7 @@
deep: true
},
address: {
addressInfo: {
handler: function (v) {
if (v.address) {
this.address = uni.getStorageSync('address').address || ''