Browse Source

修改bug

wangxy 2 ngày trước cách đây
mục cha
commit
a4c212bbac
2 tập tin đã thay đổi với 10 bổ sung19 xóa
  1. 10 19
      pages/admin/my/imageDialog.vue
  2. BIN
      static/images/erweima.png

+ 10 - 19
pages/admin/my/imageDialog.vue

@@ -4,31 +4,22 @@
 	 <view class="phone-common-dialog">
 		<view class="common-body-box">
 			<view class="common-title">二维码</view>
-			<img :src="imgSrc" class="code-img"/>
+			<img src="@/static/images/erweima.png" class="code-img"/>
 			<view class="common-btn-box">
 				<view class="confirm-btn" @click="handleClose">关闭</view>
 			</view>
 		</view>
 	 </view>
-	</uni-popup>
-</template>
-
+	</uni-popup>
+</template>
+
 <script setup>
 	import * as myApi from "@/api/my.js";
 	import {ref,reactive} from "vue"
 	const passwordPopup = ref(null); // 索引
-	const imgSrc = ref('');
-	// const $emit = defineEmits(['confirm-btn'])
-	
-	function init(){
-		myApi.getGlMineQrcode().then(res => {
-			imgSrc.value = res.data;
-		})
-	}
-	
+
 	// 打开弹窗
 	function handleShow() {
-		init();
 		passwordPopup.value.open();
 	}
 	// 取消
@@ -37,10 +28,10 @@
 	}
 	
 	defineExpose({
-			handleShow,
+			handleShow,
 			handleClose
-		})
-</script>
-
-<style>
+		})
+</script>
+
+<style>
 </style>

BIN
static/images/erweima.png