revert 解决冲突
This commit is contained in:
2025-11-27 15:38:07 +08:00
parent d209c05a18
commit 3da220526b
20 changed files with 33 additions and 1051 deletions

View File

@@ -2,7 +2,6 @@
<wd-popup
v-model="visible"
position="bottom"
@close="handleClose"
>
<view class="goods-selector">
<view v-if="selectedIndex !== -1" class="goods-info-mini">
@@ -94,20 +93,9 @@ const handleConfirm = () => {
return
}
visible.value = false
emit('confirm', props.goods[selectedIndex.value])
}
/**
* 关闭弹窗
*/
const handleClose = () => {
visible.value = false
emit('close')
}
// 监听显示状态,重置选择
watch(() => props.show, (newVal: boolean) => {
if (newVal && props.goods.length > 0) {