fix: useTable
parent
bbce129833
commit
f780285364
|
@ -161,6 +161,12 @@ export function useTable(tableProps?: Props): [
|
||||||
},
|
},
|
||||||
scrollTo: (pos: string) => {
|
scrollTo: (pos: string) => {
|
||||||
getTableInstance().scrollTo(pos)
|
getTableInstance().scrollTo(pos)
|
||||||
|
},
|
||||||
|
setShowForm: async (show: boolean) => {
|
||||||
|
getTableInstance().setShowForm(show)
|
||||||
|
},
|
||||||
|
getShowForm: () => {
|
||||||
|
return toRaw(getTableInstance().getShowForm())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue