xiongzhu 2 gadi atpakaļ
vecāks
revīzija
85a5a8f0a4

+ 1 - 1
src/components/common/OfficalAccount.vue

@@ -1,5 +1,5 @@
 <template>
-    <n-modal :show="show" @update:show="newValue => updateShow(newValue)" transform-origin="center">
+    <n-modal :show="show" @update:show="(newValue:any) => updateShow(newValue)" transform-origin="center">
         <div class="share-box">
             <img :src="imgUrl" v-if="imgUrl" alt="" class="shareImgUrl" />
             <div class="share-img relative" v-else ref="postRef">

+ 1 - 1
src/components/common/ShareModal.vue

@@ -1,5 +1,5 @@
 <template>
-    <n-modal :show="show" @update:show="newValue => updateShow(newValue)" transform-origin="center">
+    <n-modal :show="show" @update:show="(newValue:any) => updateShow(newValue)" transform-origin="center">
         <div class="share-box">
             <img :src="imgUrl" v-if="imgUrl" alt="" class="block share-canvas w-5/6 max-w-md" />
             <div class="share-img w-5/6 relative max-w-md" v-else ref="postRef">

+ 1 - 1
src/components/common/VipModal.vue

@@ -1,5 +1,5 @@
 <template>
-    <n-modal :show="show" @update:show="newValue => updateShow(newValue)" transform-origin="center">
+    <n-modal :show="show" @update:show="(newValue:any) => updateShow(newValue)" transform-origin="center">
         <div class="share-box">
             <img :src="imgUrl" v-if="imgUrl" alt="" class="shareImgUrl" />
             <div class="share-img relative" v-else ref="postRef">