This commit is contained in:
wangzenghua 2025-04-03 10:25:49 +01:00
parent 86cacd8316
commit fbde781c7c
3 changed files with 4 additions and 2 deletions

View File

@ -13,10 +13,11 @@ export const CONSTANTS = {
}; };
export const CRUD_OPTIONS = { export const CRUD_OPTIONS = {
rowKey: 'id',
index: true, index: true,
indexLabel: '序号', indexLabel: '序号',
indexWidth: 80, indexWidth: 80,
selection: true, selection: false,
align: 'center', align: 'center',
headerAlign: 'center', headerAlign: 'center',
gridBtn: false, gridBtn: false,
@ -31,7 +32,6 @@ export const CRUD_OPTIONS = {
menuWidth: 100, menuWidth: 100,
actions: [], actions: [],
dialogDrag: true, dialogDrag: true,
rowKey: 'id',
}; };
export const CRUD_VIEW_OPTIONS = { export const CRUD_VIEW_OPTIONS = {

View File

@ -85,6 +85,7 @@ const state = reactive({
options: { options: {
...CRUD_OPTIONS, ...CRUD_OPTIONS,
// addBtnText: '', // addBtnText: '',
selection: true,
column: [ column: [
{ {
label: '溯源码', label: '溯源码',

View File

@ -75,6 +75,7 @@ const state = reactive({
options: { options: {
...CRUD_OPTIONS, ...CRUD_OPTIONS,
addBtn: false, addBtn: false,
selection: true,
column: [ column: [
{ {
label: '溯源码', label: '溯源码',