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' }" :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>

View File

@@ -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 || ''