n20-common-lib 3.2.57 → 3.2.58
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
|
@@ -728,7 +728,11 @@ export default {
|
|
|
728
728
|
})
|
|
729
729
|
}
|
|
730
730
|
} else {
|
|
731
|
-
|
|
731
|
+
// 空数组表示用户已明确保存为“不展示任何筛选项”,不能再回填默认项;
|
|
732
|
+
// null / undefined 才表示尚未保存过配置,此时按原逻辑加载默认项。
|
|
733
|
+
if (Array.isArray(_data)) {
|
|
734
|
+
this.GroupData = []
|
|
735
|
+
} else if (this.removeLoad) {
|
|
732
736
|
this.GroupData = this.filterList.filter((item) => {
|
|
733
737
|
if (item.isDefault) {
|
|
734
738
|
return item
|
|
Binary file
|
|
Binary file
|
|
Binary file
|