diff --git a/src/views/category/fieldManage/index.vue b/src/views/category/fieldManage/index.vue index e2a3825..806e6da 100644 --- a/src/views/category/fieldManage/index.vue +++ b/src/views/category/fieldManage/index.vue @@ -160,7 +160,7 @@ export default { [CRUD.HOOK.beforeSubmit]() { this.crud.form.isType = this.isType if (!this.crud.form.isSequence) { - this.crud.data.reduce((prev, cur) => { return Math.max(prev.isSequence, cur.isSequence) }) + this.crud.form.isSequence = this.crud.data.reduce((prev, cur) => { return Math.max(prev.isSequence, cur.isSequence) }) } }, [CRUD.HOOK.beforeToCU]() { diff --git a/src/views/components/field/index.vue b/src/views/components/field/index.vue index 2cc7493..c11ee1b 100644 --- a/src/views/components/field/index.vue +++ b/src/views/components/field/index.vue @@ -130,7 +130,7 @@ export default { [CRUD.HOOK.beforeSubmit]() { this.crud.form.isType = this.isType if (!this.crud.form.isSequence) { - this.crud.data.reduce((prev, cur) => { return Math.max(prev.isSequence, cur.isSequence) }) + this.crud.form.isSequence = this.crud.data.reduce((prev, cur) => { return Math.max(prev.isSequence, cur.isSequence) }) } }, handleConfirm() { diff --git a/src/views/storeManage/deviceManage/index.vue b/src/views/storeManage/deviceManage/index.vue index e4d7c95..391fbfd 100644 --- a/src/views/storeManage/deviceManage/index.vue +++ b/src/views/storeManage/deviceManage/index.vue @@ -6,8 +6,8 @@