n20-project-component 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -446,6 +446,8 @@ export default {
|
|
|
446
446
|
},
|
|
447
447
|
// 新增
|
|
448
448
|
add() {
|
|
449
|
+
let keyIds = this.filterList.filter(v => v.required).map(v => v.id);
|
|
450
|
+
|
|
449
451
|
this.isRefresh = false;
|
|
450
452
|
this.viewPopoverVisible = false;
|
|
451
453
|
this.visible = true;
|
|
@@ -453,7 +455,7 @@ export default {
|
|
|
453
455
|
this.form = {
|
|
454
456
|
userNo: sessionStorage.getItem('userNo'),
|
|
455
457
|
pageNo: this.filterId,
|
|
456
|
-
keyIds: [],
|
|
458
|
+
keyIds: keyIds || [],
|
|
457
459
|
};
|
|
458
460
|
this.viewId = undefined;
|
|
459
461
|
this.searchForm = {
|