fix
This commit is contained in:
parent
86cacd8316
commit
fbde781c7c
@ -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 = {
|
||||||
|
@ -85,6 +85,7 @@ const state = reactive({
|
|||||||
options: {
|
options: {
|
||||||
...CRUD_OPTIONS,
|
...CRUD_OPTIONS,
|
||||||
// addBtnText: '添加信息',
|
// addBtnText: '添加信息',
|
||||||
|
selection: true,
|
||||||
column: [
|
column: [
|
||||||
{
|
{
|
||||||
label: '溯源码',
|
label: '溯源码',
|
||||||
|
@ -75,6 +75,7 @@ const state = reactive({
|
|||||||
options: {
|
options: {
|
||||||
...CRUD_OPTIONS,
|
...CRUD_OPTIONS,
|
||||||
addBtn: false,
|
addBtn: false,
|
||||||
|
selection: true,
|
||||||
column: [
|
column: [
|
||||||
{
|
{
|
||||||
label: '溯源码',
|
label: '溯源码',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user