cloud-web-corejs 1.0.303 → 1.0.307

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.
@@ -111,6 +111,8 @@ export default {
111
111
  data: this.commonAttribute,
112
112
  isLoading: true,
113
113
  success: res => {
114
+ // $getBaseDicts 带缓存,改完不失效的话业务页最长要等一个 TTL 才看到
115
+ this.$invalidateBaseDicts(this.commonAttribute.code);
114
116
  this.$message({
115
117
  message: res.content,
116
118
  type: 'success',
@@ -210,6 +210,8 @@ export default {
210
210
  data: this.commonAttribute,
211
211
  isLoading: true,
212
212
  success: res => {
213
+ // $getBaseDicts 带缓存,改完不失效的话业务页最长要等一个 TTL 才看到
214
+ this.$invalidateBaseDicts(this.commonAttribute.code);
213
215
  this.$message({
214
216
  message: res.content,
215
217
  type: 'success',
@@ -638,6 +638,7 @@ export default {
638
638
  },
639
639
  failMsg: false,
640
640
  ignoreNetworkError: true,
641
+ ignore502: true,
641
642
  fail: (res, response) => {
642
643
  if (response && response.status == 200) {
643
644
  this.$errorMsg(res);
@@ -661,6 +662,7 @@ export default {
661
662
  },
662
663
  failMsg: false,
663
664
  ignoreNetworkError: true,
665
+ ignore502: true,
664
666
  fail: (res, response) => {
665
667
  if (response && response.status == 200) {
666
668
  this.$errorMsg(res);
@@ -879,6 +879,7 @@ export default {
879
879
  },
880
880
  failMsg: false,
881
881
  ignoreNetworkError: true,
882
+ ignore502: true,
882
883
  fail: (res, response) => {
883
884
  if (response && response.status === 200) {
884
885
  this.$errorMsg(res);
@@ -902,6 +903,7 @@ export default {
902
903
  },
903
904
  failMsg: false,
904
905
  ignoreNetworkError: true,
906
+ ignore502: true,
905
907
  fail: (res, response) => {
906
908
  if (response && response.status === 200) {
907
909
  this.$errorMsg(res);