@a2simcode/ui 0.0.326 → 0.0.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/simcode-ui.es.js +1157 -1151
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/examples/form/master-detail.vue +1 -1
- package/docs/examples/table/add-row.vue +0 -5
- package/package.json +1 -1
|
@@ -72,11 +72,6 @@ const records = ref([
|
|
|
72
72
|
|
|
73
73
|
const handleChange = (params: any) => {
|
|
74
74
|
console.log('表格变更:', params)
|
|
75
|
-
if (params.type === 'add') {
|
|
76
|
-
// 新增行时,同步更新 records
|
|
77
|
-
records.value.push(params.value)
|
|
78
|
-
}
|
|
79
|
-
// 删除行无需处理:组件已通过 v-model 回写删除后的数据,
|
|
80
75
|
}
|
|
81
76
|
|
|
82
77
|
const changeData = () => {
|