Commit 3f879096 by Jings

fix: 修复空值校验

parent 9b854f48
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: Drama * @Author: Drama
* @Date: 2022-09-14 11:09:43 * @Date: 2022-09-14 11:09:43
* @LastEditors: Drama * @LastEditors: Drama
* @LastEditTime: 2022-10-08 13:54:45 * @LastEditTime: 2022-10-08 15:07:26
* @FilePath: /haoban-3/src/views/enterprise/guide-setting-new.vue * @FilePath: /haoban-3/src/views/enterprise/guide-setting-new.vue
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
// 保存 // 保存
submit: _debounce(function() { submit: _debounce(function() {
let currentChooseList = this.$refs.tree.getCheckedKeys().concat(this.$refs.tree.getHalfCheckedKeys()); let currentChooseList = this.$refs.tree.getCheckedKeys().concat(this.$refs.tree.getHalfCheckedKeys());
// this['withoutParents_' + this.activeNum] = [...currentChooseList]; this['withoutParents_' + this.activeNum] = [...currentChooseList];
this['saveWithoutParents_' + this.activeNum] = [...currentChooseList]; this['saveWithoutParents_' + this.activeNum] = [...currentChooseList];
let errFlag_0 = this.withoutParents_0.length ? true : false; let errFlag_0 = this.withoutParents_0.length ? true : false;
......
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