pimelon-ui 0.1.210 → 0.1.211
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/melon/Link/Link.vue +2 -0
- package/package.json +1 -1
package/melon/Link/Link.vue
CHANGED
|
@@ -25,6 +25,7 @@ import FormLabel from '../../src/components/FormLabel.vue'
|
|
|
25
25
|
import debounce from '../../src/utils/debounce'
|
|
26
26
|
// @ts-ignore - Vue SFC without explicit types
|
|
27
27
|
import { createResource } from '../../src/resources'
|
|
28
|
+
import { melonRequest } from '../../src/utils/melonRequest'
|
|
28
29
|
import type { LinkProps, SelectOption } from './types'
|
|
29
30
|
import LucidePlus from '~icons/lucide/plus'
|
|
30
31
|
|
|
@@ -53,6 +54,7 @@ const options = createResource({
|
|
|
53
54
|
filters: props.filters,
|
|
54
55
|
},
|
|
55
56
|
method: 'POST',
|
|
57
|
+
resourceFetcher: melonRequest,
|
|
56
58
|
transform: (data: SelectOption[]) => {
|
|
57
59
|
return data.map((doc) => ({
|
|
58
60
|
label: doc.label || doc.value,
|