8e36b466 by yzj

no message

1 parent 25c30d22
......@@ -256,7 +256,7 @@ function handleEdit (row) {
form: {
...row,
type: row.type.split('、'),
canPack: row.canPack || 0 // 确保canPack有值,如果为null或undefined则默认为'0'
canPack: row.canPack || '0' // 确保canPack有值,如果为null或undefined则默认为'0'
}
}
console.log('编辑表单数据:', showForm.value.form) // 添加日志查看数据
......@@ -269,7 +269,7 @@ function btn_add () {
...showForm.value,
open: true,
form: {
canPack: 0 // 设置默认值
canPack: '0' // 设置默认值
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!