@finema/core 1.4.191 → 1.4.192
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -144,8 +144,6 @@ const handleOpenFile = () => {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
const handleDeleteFile = (index: number) => {
|
|
147
|
-
selectedFiles.value.splice(index, 1)
|
|
148
|
-
|
|
149
147
|
const updatedValue = [...selectedFiles.value]
|
|
150
148
|
|
|
151
149
|
updatedValue.splice(index, 1)
|
|
@@ -153,7 +151,10 @@ const handleDeleteFile = (index: number) => {
|
|
|
153
151
|
}
|
|
154
152
|
|
|
155
153
|
const handleDeleteFileView = (index: number) => {
|
|
156
|
-
value.value
|
|
154
|
+
const updatedValue = [...value.value]
|
|
155
|
+
|
|
156
|
+
updatedValue.splice(index, 1)
|
|
157
|
+
value.value = updatedValue
|
|
157
158
|
emits('delete')
|
|
158
159
|
}
|
|
159
160
|
|