-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
525c474
commit f0cbdb7
Showing
26 changed files
with
1,068 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<div> | ||
<vxe-table-select v-model="val1" :options="opts1" :columns="columns1"></vxe-table-select> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
import { VxeTableSelectPropTypes } from '../../../types' | ||
const val1 = ref('') | ||
const columns1 = ref<VxeTableSelectPropTypes.Columns>([ | ||
{ field: 'name', title: 'Name' }, | ||
{ field: 'role', title: 'Role' }, | ||
{ field: 'sex', title: 'Sex' } | ||
]) | ||
const opts1 = ref([ | ||
{ name: 'Test1', role: 'Test', sex: 'man', label: 'Test1', value: 1 }, | ||
{ name: 'Test2', role: 'Test', sex: 'man', label: 'Test2', value: 2 }, | ||
{ name: 'Test3', role: 'Test', sex: 'man', label: 'Test3', value: 3 }, | ||
{ name: 'Test4', role: 'Test', sex: 'man', label: 'Test4', value: 4 }, | ||
{ name: 'Test5', role: 'Test', sex: 'man', label: 'Test5', value: 5 }, | ||
{ name: 'Test6', role: 'Test', sex: 'man', label: 'Test6', value: 6 } | ||
]) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { App } from 'vue' | ||
import { VxeUI } from '@vxe-ui/core' | ||
import VxeTableSelectComponent from './src/table-select' | ||
import { dynamicApp } from '../dynamics' | ||
|
||
export const VxeTableSelect = Object.assign({}, VxeTableSelectComponent, { | ||
install (app: App) { | ||
app.component(VxeTableSelectComponent.name as string, VxeTableSelectComponent) | ||
} | ||
}) | ||
|
||
dynamicApp.use(VxeTableSelect) | ||
VxeUI.component(VxeTableSelectComponent) | ||
|
||
export const TableSelect = VxeTableSelect | ||
export default VxeTableSelect |
Oops, something went wrong.