refactor: 重构layout文件命名规范,更易读 (#1110)

This commit is contained in:
xiaoming
2024-04-30 22:27:54 +08:00
committed by GitHub
parent 2f9bc7e187
commit b8159a0d73
53 changed files with 332 additions and 378 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { tableDataMore } from "./data";
const props = withDefaults(
withDefaults(
defineProps<{
height?: string;
}>(),
@@ -62,12 +62,12 @@ function handleClick(row) {
<template>
<pure-table
:data="
props.height
height
? tableDataMore.concat(tableDataMore).concat(tableDataMore)
: tableDataMore
"
:columns="columns"
:height="props.height"
:height="height"
>
<template #operation="{ row }">
<el-button link type="primary" size="small" @click="handleClick(row)">