代码优化

This commit is contained in:
GaoHao
2025-03-26 14:35:59 +08:00
parent 413222a5f0
commit 656793dae2
47 changed files with 142 additions and 4103 deletions

View File

@@ -36,9 +36,7 @@
<script setup>
import { reactive, ref, watch } from 'vue';
import { $tbProduct } from '@/http/yskApi/goods.js';
import infoBox from '@/commons/utils/infoBox.js'
const props = defineProps({
modelValue: {
type: Boolean,
@@ -81,7 +79,7 @@
function confrim() {
if(!sel.value.id){
return infoBox.showToast('请选择选择一个规格')
return uni.$utils.showToast('请选择选择一个规格')
}
emits('confirm', sel.value)
close()