fix: component ts type
parent
d71df4b3ba
commit
5b20498792
|
@ -75,9 +75,7 @@ export type Visibles = { [index: number]: boolean };
|
|||
const Slider = defineComponent({
|
||||
name: 'ASlider',
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
...sliderProps(),
|
||||
},
|
||||
props: sliderProps(),
|
||||
emits: ['update:value', 'change', 'afterChange', 'blur'],
|
||||
slots: ['mark'],
|
||||
setup(props, { attrs, slots, emit, expose }) {
|
||||
|
|
|
@ -252,9 +252,9 @@ const TreeSelect = defineComponent({
|
|||
export const TreeSelectNode = TreeNode;
|
||||
export default Object.assign(TreeSelect, {
|
||||
TreeNode,
|
||||
SHOW_ALL,
|
||||
SHOW_PARENT,
|
||||
SHOW_CHILD,
|
||||
SHOW_ALL: SHOW_ALL as typeof SHOW_ALL,
|
||||
SHOW_PARENT: SHOW_PARENT as typeof SHOW_PARENT,
|
||||
SHOW_CHILD: SHOW_CHILD as typeof SHOW_CHILD,
|
||||
install: (app: App) => {
|
||||
app.component(TreeSelect.name, TreeSelect);
|
||||
app.component(TreeSelectNode.displayName, TreeSelectNode);
|
||||
|
|
Loading…
Reference in New Issue