@mythpe/quasar-ui-qui 0.0.80 → 0.0.82
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/package.json
CHANGED
|
@@ -104,7 +104,7 @@ const deleteMedia = (media: MUploaderMediaItem) => {
|
|
|
104
104
|
confirmMessage().onOk(() => {
|
|
105
105
|
const model = modelValue.value as MUploaderMediaItem
|
|
106
106
|
let r = !1
|
|
107
|
-
const method = (typeof props.service === 'string' ? api[props.service] : props.service) as MUploaderServiceType
|
|
107
|
+
const method = (typeof props.service === 'string' ? api.value[props.service] : props.service) as MUploaderServiceType
|
|
108
108
|
if (method) {
|
|
109
109
|
deleting.value = !0
|
|
110
110
|
q.loading.show()
|
|
@@ -131,7 +131,7 @@ const deleteUploaderFile = (file: File) => {
|
|
|
131
131
|
}
|
|
132
132
|
const onUpdateField = (data: any) => {
|
|
133
133
|
const model = modelValue.value as MUploaderMediaItem
|
|
134
|
-
const method = (typeof props.service === 'string' ? api[props.service] : props.service) as MUploaderServiceType
|
|
134
|
+
const method = (typeof props.service === 'string' ? api.value[props.service] : props.service) as MUploaderServiceType
|
|
135
135
|
if (method) {
|
|
136
136
|
deleting.value = !0
|
|
137
137
|
q.loading.show()
|