Merge pull request #354 from GGBOND-L/master

fix: Table的addColumn不能添加首列
master
Archer 2 years ago committed by GitHub
commit d2dd384b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -228,7 +228,7 @@ export default defineComponent({
const addColumn = (column: TableColumn, index?: number) => {
const { columns } = unref(getProps)
if (index) {
if (index || index === 0) {
columns.splice(index, 0, column)
} else {
columns.push(column)

Loading…
Cancel
Save