Commit dfc800e1 authored by tanghao's avatar tanghao

123

parent 0a3bd4b3
......@@ -24,7 +24,6 @@
</template>
</vxe-form-item>
</vxe-form>
<div>
<vxe-toolbar>
<template #buttons>
......@@ -33,9 +32,12 @@
<!-- <el-button type="danger" @click="handleDel">删除</el-button> -->
</template>
</vxe-toolbar>
<vxe-table ref="xTable" min-height="460" border :loading="loading" :data="tableData" :row-config="{keyField:'id'}">
<vxe-table ref="xTable" min-height="460" border :loading="loading" :data="tableData" :row-config="{keyField:'id',isHover: true}">
<vxe-column field="id" title="ID" width="100"></vxe-column>
<vxe-column v-for="(row, index) in tableColumn" :field="row" min-width="150" :title="row" :key="index" />
<vxe-column v-for="(row, index) in tableColumn" :field="row" min-width="150" :title="row" :key="index"
show-overflow/>
<vxe-column title="操作" width="100" fixed="right">
<template #default="{ row }">
<el-button link type="primary" size="small" @click="handleUpdate(row)">修改</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment