olp-table 5.3.0 → 5.3.4
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.
|
@@ -28549,14 +28549,14 @@ const storePermi = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(PERMISSION
|
|
|
28549
28549
|
await this.initValue();
|
|
28550
28550
|
}
|
|
28551
28551
|
},
|
|
28552
|
-
async initValue(
|
|
28553
|
-
this.isInit = false;
|
|
28552
|
+
async initValue() {
|
|
28554
28553
|
let dataItems = localStorage.getItem(PERMISSION_CACHE_KEY);
|
|
28555
28554
|
if (dataItems) {
|
|
28556
28555
|
let value = JSON.parse(dataItems);
|
|
28557
28556
|
this.value = value;
|
|
28557
|
+
this.isInit = false;
|
|
28558
28558
|
} else {
|
|
28559
|
-
await this.refresh(http)
|
|
28559
|
+
// await this.refresh(http)
|
|
28560
28560
|
}
|
|
28561
28561
|
},
|
|
28562
28562
|
async refresh() {
|
|
@@ -86589,7 +86589,6 @@ const storeDict = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST, {
|
|
|
86589
86589
|
}
|
|
86590
86590
|
},
|
|
86591
86591
|
async initValue() {
|
|
86592
|
-
this.isInit = false;
|
|
86593
86592
|
let dictItems = localStorage.getItem(DIST);
|
|
86594
86593
|
if (dictItems) {
|
|
86595
86594
|
let value = JSON.parse(dictItems);
|
|
@@ -86603,6 +86602,7 @@ const storeDict = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST, {
|
|
|
86603
86602
|
}
|
|
86604
86603
|
}
|
|
86605
86604
|
this.object = obj;
|
|
86605
|
+
this.isInit = false;
|
|
86606
86606
|
} else {
|
|
86607
86607
|
console.log("数据字典未初始化:" + DIST);
|
|
86608
86608
|
//await this.refresh()
|
|
@@ -129096,12 +129096,12 @@ const storeDictType = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST_TY
|
|
|
129096
129096
|
}
|
|
129097
129097
|
},
|
|
129098
129098
|
async initValue() {
|
|
129099
|
-
this.isInit = false;
|
|
129100
129099
|
let dictItems = localStorage.getItem(DIST_TYPE);
|
|
129101
129100
|
//let dictItems = undefined;
|
|
129102
129101
|
if (dictItems) {
|
|
129103
129102
|
let value = JSON.parse(dictItems);
|
|
129104
129103
|
this.value = value;
|
|
129104
|
+
this.isInit = false;
|
|
129105
129105
|
} else {
|
|
129106
129106
|
console.log("数据字典未初始化:" + DIST_TYPE);
|
|
129107
129107
|
//await this.refresh()
|
|
@@ -989,7 +989,6 @@ const storeDict = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST, {
|
|
|
989
989
|
}
|
|
990
990
|
},
|
|
991
991
|
async initValue() {
|
|
992
|
-
this.isInit = false;
|
|
993
992
|
let dictItems = localStorage.getItem(DIST);
|
|
994
993
|
if (dictItems) {
|
|
995
994
|
let value = JSON.parse(dictItems);
|
|
@@ -1003,6 +1002,7 @@ const storeDict = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST, {
|
|
|
1003
1002
|
}
|
|
1004
1003
|
}
|
|
1005
1004
|
this.object = obj;
|
|
1005
|
+
this.isInit = false;
|
|
1006
1006
|
} else {
|
|
1007
1007
|
console.log("数据字典未初始化:" + DIST);
|
|
1008
1008
|
//await this.refresh()
|
|
@@ -91330,14 +91330,14 @@ const storePermi = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(PERMISSION
|
|
|
91330
91330
|
await this.initValue();
|
|
91331
91331
|
}
|
|
91332
91332
|
},
|
|
91333
|
-
async initValue(
|
|
91334
|
-
this.isInit = false;
|
|
91333
|
+
async initValue() {
|
|
91335
91334
|
let dataItems = localStorage.getItem(PERMISSION_CACHE_KEY);
|
|
91336
91335
|
if (dataItems) {
|
|
91337
91336
|
let value = JSON.parse(dataItems);
|
|
91338
91337
|
this.value = value;
|
|
91338
|
+
this.isInit = false;
|
|
91339
91339
|
} else {
|
|
91340
|
-
await this.refresh(http)
|
|
91340
|
+
// await this.refresh(http)
|
|
91341
91341
|
}
|
|
91342
91342
|
},
|
|
91343
91343
|
async refresh() {
|
|
@@ -110363,12 +110363,12 @@ const storeDictType = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(DIST_TY
|
|
|
110363
110363
|
}
|
|
110364
110364
|
},
|
|
110365
110365
|
async initValue() {
|
|
110366
|
-
this.isInit = false;
|
|
110367
110366
|
let dictItems = localStorage.getItem(DIST_TYPE);
|
|
110368
110367
|
//let dictItems = undefined;
|
|
110369
110368
|
if (dictItems) {
|
|
110370
110369
|
let value = JSON.parse(dictItems);
|
|
110371
110370
|
this.value = value;
|
|
110371
|
+
this.isInit = false;
|
|
110372
110372
|
} else {
|
|
110373
110373
|
console.log("数据字典未初始化:" + DIST_TYPE);
|
|
110374
110374
|
//await this.refresh()
|