修复商品库存价格编辑小程序兼容无反应问题

This commit is contained in:
2024-11-04 10:23:06 +08:00
parent 20c4631ad4
commit e064484fe2
2 changed files with 17 additions and 3 deletions

View File

@@ -170,7 +170,9 @@
active: 0
})
const data = ref(props.goods)
const data = ref({
name:''
})
const emits = defineEmits(['update:show', 'save'])
const form = reactive({
note: ''
@@ -252,6 +254,10 @@
// skuSnap: JSON.stringify(skuSnap)
// })
// }
onMounted(()=>{
refForm.value.setRules(rules)
})
</script>
<style lang="scss" scoped>