ocpview-plus 1.0.15 → 1.0.16
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.
|
|
456
|
+
const version$2 = "1.0.15";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -7718,22 +7718,6 @@ const _sfc_main$1H = {
|
|
|
7718
7718
|
this.order_direction = "";
|
|
7719
7719
|
let tempField = [];
|
|
7720
7720
|
let tempDirection = [];
|
|
7721
|
-
if (this.config.searchParam) {
|
|
7722
|
-
if (this.config.searchParam.order_field) {
|
|
7723
|
-
tempField = this.config.searchParam.order_field.split(",");
|
|
7724
|
-
if (this.config.searchParam.order_direction) {
|
|
7725
|
-
tempDirection = this.config.searchParam.order_direction.split(",");
|
|
7726
|
-
let tempDirectionNum = tempDirection.length;
|
|
7727
|
-
for (let i = tempDirectionNum; i < tempField.length; i++) {
|
|
7728
|
-
tempDirection.push("asc");
|
|
7729
|
-
}
|
|
7730
|
-
} else {
|
|
7731
|
-
for (let i = 0; i < tempField.length; i++) {
|
|
7732
|
-
tempDirection.push("asc");
|
|
7733
|
-
}
|
|
7734
|
-
}
|
|
7735
|
-
}
|
|
7736
|
-
}
|
|
7737
7721
|
if (para.order !== "normal") {
|
|
7738
7722
|
let index = tempField.findIndex((el2) => el2 === para.key);
|
|
7739
7723
|
if (index > -1) {
|