@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.
@@ -165,7 +165,7 @@ const handleSave = async () => {
165
165
  }
166
166
 
167
167
  const handleReset = () => {
168
- formRef.value?.resetFields()
168
+ formRef.value?.reset()
169
169
  }
170
170
 
171
171
  const handleLoadMock = () => {
@@ -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 = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2simcode/ui",
3
- "version": "0.0.326",
3
+ "version": "0.0.328",
4
4
  "description": "A Vue 3 UI Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/simcode-ui.umd.js",