ocpview-plus 1.0.8 → 1.0.10

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.0.7";
456
+ const version$2 = "1.0.9";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -26750,6 +26750,17 @@ const _sfc_main$1n = {
26750
26750
  }
26751
26751
  if (flag) {
26752
26752
  if (this.config.selectkey) {
26753
+ if (this.query && this.query.Config) {
26754
+ const lastParam = this.query.Config.lastQueryParam;
26755
+ if (lastParam) {
26756
+ const newParam = { ...lastParam, ...this.searchParam };
26757
+ if (JSON.stringify(lastParam) === "{}") {
26758
+ this.query.Config.lastQueryParam = newParam;
26759
+ }
26760
+ this.searchParam = { ...newParam };
26761
+ this.$refs["popView"].setSearchBeforeSearchParam(this.searchParam);
26762
+ }
26763
+ }
26753
26764
  this.popShow = true;
26754
26765
  if (this.myConfig.clearCondition !== false) {
26755
26766
  if (this.$refs["popView"].clearCondition) {
@@ -26908,6 +26919,13 @@ const _sfc_main$1n = {
26908
26919
  if (this.config.onOpenChange) {
26909
26920
  this.config.onOpenChange(newValue);
26910
26921
  }
26922
+ if (!newValue) {
26923
+ if (this.searchParam) {
26924
+ if (!this.searchParam.notfatherclean) {
26925
+ this.query.Config.lastQueryParam = {};
26926
+ }
26927
+ }
26928
+ }
26911
26929
  },
26912
26930
  immediate: true
26913
26931
  }