Browse Source

10.21

master
lichong 6 months ago
parent
commit
6e8b3a6297
  1. 2
      front/package.json
  2. 2
      front/src/renderer/src/components/tablecomponent.vue

2
front/package.json

@ -1,6 +1,6 @@
{ {
"name": "electron", "name": "electron",
"version": "1.0.4", "version": "1.0.5",
"description": "An Electron application with Vue", "description": "An Electron application with Vue",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "lichong", "author": "lichong",

2
front/src/renderer/src/components/tablecomponent.vue

@ -2,7 +2,7 @@
<div class="tableClass"> <div class="tableClass">
<vxe-table show-overflow :data="tableData" round :height="690" :scroll-y="{ enabled: true, gt: 20 }" <vxe-table show-overflow :data="tableData" round :height="690" :scroll-y="{ enabled: true, gt: 20 }"
:checkbox-config="{ labelField: 'seq', highlight: true }" @checkbox-all="selectAllChangeEvent" :checkbox-config="{ labelField: 'seq', highlight: true }" @checkbox-all="selectAllChangeEvent"
@checkbox-change="selectChange" ref="tableRef"> @checkbox-change="selectChange" ref="tableRef" border :column-config="{ resizable: true }">
<vxe-column type="seq" width="70" v-if="hiddenXuhao"></vxe-column> <vxe-column type="seq" width="70" v-if="hiddenXuhao"></vxe-column>
<vxe-column type="checkbox" width="70" fixed="left"></vxe-column> <vxe-column type="checkbox" width="70" fixed="left"></vxe-column>
<vxe-column :field="headerItem.prop" :title="headerItem.label" :min-width="`${headerItem.label.length * 23 + 24}`" <vxe-column :field="headerItem.prop" :title="headerItem.label" :min-width="`${headerItem.label.length * 23 + 24}`"

Loading…
Cancel
Save