mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
Revert "fix(gi-table): 修复 GiTable 使用一些属性提示类型错误的问题"
This reverts commit aed635fe99
.
This commit is contained in:
@@ -11,4 +11,4 @@ VITE_API_WS_URL = 'wss://api.continew.top'
|
|||||||
VITE_BASE = '/'
|
VITE_BASE = '/'
|
||||||
|
|
||||||
# 应用配置面板
|
# 应用配置面板
|
||||||
VITE_APP_SETTING = true
|
VITE_APP_SETTING = false
|
@@ -97,14 +97,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends TableData">
|
<script setup lang="ts" generic="T extends TableData">
|
||||||
import type {
|
import type { DropdownInstance, TableColumnData, TableData, TableInstance } from '@arco-design/web-vue'
|
||||||
DropdownInstance,
|
|
||||||
Table,
|
|
||||||
TableColumnData,
|
|
||||||
TableData,
|
|
||||||
TableInstance,
|
|
||||||
} from '@arco-design/web-vue'
|
|
||||||
|
|
||||||
import { VueDraggable } from 'vue-draggable-plus'
|
import { VueDraggable } from 'vue-draggable-plus'
|
||||||
|
|
||||||
defineOptions({ name: 'GiTable', inheritAttrs: false })
|
defineOptions({ name: 'GiTable', inheritAttrs: false })
|
||||||
@@ -144,8 +137,8 @@ defineSlots<{
|
|||||||
|
|
||||||
const attrs = useAttrs()
|
const attrs = useAttrs()
|
||||||
const slots = useSlots()
|
const slots = useSlots()
|
||||||
type TableProps = Partial<InstanceType<typeof Table>['$props']>
|
|
||||||
interface Props extends TableProps {
|
interface Props {
|
||||||
title?: string
|
title?: string
|
||||||
data: T[]
|
data: T[]
|
||||||
disabledTools?: string[]
|
disabledTools?: string[]
|
||||||
|
Reference in New Issue
Block a user