mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
refactor: 重构layout文件命名规范,更易读 (#1110)
This commit is contained in:
@@ -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)">
|
||||
|
||||
Reference in New Issue
Block a user