@xuekl/cli-components 1.1.1 → 1.1.3
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/ContextMenu.vue +1 -1
- package/XklForm.vue +3 -1
- package/XklSelect.vue +1 -1
- package/package.json +1 -1
package/ContextMenu.vue
CHANGED
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
}
|
|
20
20
|
</script>
|
|
21
21
|
<script setup lang="ts">
|
|
22
|
-
import { LocalMenu } from '@xuekl/cli-base/type'
|
|
22
|
+
import { LocalMenu } from '@xuekl/cli-base/type.d'
|
|
23
23
|
import { Ref, ref } from 'vue';
|
|
24
24
|
const props = defineProps(['position', 'type'])
|
|
25
25
|
const emit = defineEmits(['result'])
|
package/XklForm.vue
CHANGED
|
@@ -62,7 +62,7 @@ export default {
|
|
|
62
62
|
</script>
|
|
63
63
|
<script setup lang="ts">
|
|
64
64
|
import { setUpperFirst } from '@xuekl/cli-utils'
|
|
65
|
-
import { FormItem } from '@xuekl/cli-base/type'
|
|
65
|
+
import { FormItem } from '@xuekl/cli-base/type.d'
|
|
66
66
|
import { ref, watch, onMounted } from 'vue'
|
|
67
67
|
import XklSelect from './XklSelect.vue'
|
|
68
68
|
import XklTreeSelect from './XklTreeSelect.vue'
|
|
@@ -196,6 +196,8 @@ const regProto = () => {
|
|
|
196
196
|
});
|
|
197
197
|
return modeFields
|
|
198
198
|
}, form)
|
|
199
|
+
|
|
200
|
+
form.getRef = () => XklFormRef.value
|
|
199
201
|
}
|
|
200
202
|
|
|
201
203
|
onMounted(() => {
|
package/XklSelect.vue
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
</script>
|
|
11
11
|
<script setup lang="ts">
|
|
12
12
|
import { onBeforeMount, ref, Ref, watch } from 'vue'
|
|
13
|
-
import { SelectItem } from '@xuekl/cli-base/type'
|
|
13
|
+
import { SelectItem } from '@xuekl/cli-base/type.d'
|
|
14
14
|
import http from "@/utils/httpRequest"
|
|
15
15
|
const props = defineProps(['config', 'list'])
|
|
16
16
|
const emit = defineEmits(['update:label'])
|