-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Showing
8 changed files
with
32 additions
and
66 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
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 |
---|---|---|
@@ -1,50 +1,5 @@ | ||
<template> | ||
<f-table :data="data" :columns="columns" zebra> | ||
<template #noData> | ||
<f-button>没有数据</f-button> | ||
</template> | ||
</f-table> | ||
</template> | ||
<script lang="ts" setup></script> | ||
|
||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
<template></template> | ||
|
||
const columns = ref([ | ||
{ | ||
title: '姓名', | ||
key: 'name', | ||
width: 100 | ||
}, | ||
{ | ||
title: '年龄', | ||
key: 'age' | ||
}, | ||
{ | ||
title: '介绍', | ||
key: 'introduce' | ||
} | ||
]) | ||
const data = ref([ | ||
// { | ||
// name: '卡莉斯塔', | ||
// age: '22', | ||
// introduce: '她的被动可以在发动攻击后进行小距离的跳跃' | ||
// }, | ||
// { | ||
// name: '艾希', | ||
// age: '16', | ||
// introduce: '拥有强大减速和控制能力的远程射手' | ||
// }, | ||
// { | ||
// name: '李青', | ||
// age: '34', | ||
// introduce: '非常优秀的打野英雄' | ||
// }, | ||
// { | ||
// name: '贾克斯', | ||
// age: '109', | ||
// introduce: '取得优势的武器可以输出成吨的伤害' | ||
// } | ||
]) | ||
</script> | ||
<style lang="scss" scoped></style> |