feat: 添加二维码扫描页面,优化用户界面和扫描功能
This commit is contained in:
@@ -93,7 +93,6 @@ function stop() {
|
||||
if (videoInst.value) {
|
||||
videoInst.value.srcObject = null;
|
||||
}
|
||||
emit("close");
|
||||
}
|
||||
|
||||
function handleSelectImage() {
|
||||
@@ -182,7 +181,7 @@ defineExpose({
|
||||
>
|
||||
|
||||
<div class="absolute left-0 top-0 z-10 p-4 pt-[calc(1rem+var(--ion-safe-area-top,0px))] pl-[calc(1rem+var(--ion-safe-area-left,0px))]">
|
||||
<button class="z-1 flex items-center" @click="stop">
|
||||
<button class="z-1 flex items-center" @click="emit('close')">
|
||||
<ion-icon :icon="chevronBackOutline" class="text-2xl text-white" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user