软件概述、测评对象-用户自定义片段录入-文,表,图

This commit is contained in:
2026-02-03 16:49:54 +08:00
parent 4a50e0ef48
commit 9c1c39d9a9
6 changed files with 208 additions and 139 deletions

View File

@@ -5,7 +5,7 @@ import ImageInput from "../ImageInput/index.vue"
// wordlike组件
import WordLikeTable from "../wordLikeTable/index.vue"
export default function useTable() {
export default function useTable(reset: Function) {
const columns = reactive<TableColumnData[]>([
{
title: "类型",
@@ -69,6 +69,8 @@ export default function useTable() {
// 卸载时清空数据
const handleOnClose = () => {
data.value = [{ ...initalRowData }]
// 更新展示状态
reset()
}
// 数据定义 - 测试