ocpview-plus 1.0.14 → 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 = "";
|
|
@@ -6907,6 +6907,8 @@ const _sfc_main$1I = {
|
|
|
6907
6907
|
column2.place = "grid";
|
|
6908
6908
|
if (column2.sortable === true) {
|
|
6909
6909
|
column2.sortable = "custom";
|
|
6910
|
+
} else if (column2.sortable === "default") {
|
|
6911
|
+
column2.sortable = true;
|
|
6910
6912
|
}
|
|
6911
6913
|
if (type === "numberbox") {
|
|
6912
6914
|
if (!column2.contentAlign) {
|
|
@@ -7716,22 +7718,6 @@ const _sfc_main$1H = {
|
|
|
7716
7718
|
this.order_direction = "";
|
|
7717
7719
|
let tempField = [];
|
|
7718
7720
|
let tempDirection = [];
|
|
7719
|
-
if (this.config.searchParam) {
|
|
7720
|
-
if (this.config.searchParam.order_field) {
|
|
7721
|
-
tempField = this.config.searchParam.order_field.split(",");
|
|
7722
|
-
if (this.config.searchParam.order_direction) {
|
|
7723
|
-
tempDirection = this.config.searchParam.order_direction.split(",");
|
|
7724
|
-
let tempDirectionNum = tempDirection.length;
|
|
7725
|
-
for (let i = tempDirectionNum; i < tempField.length; i++) {
|
|
7726
|
-
tempDirection.push("asc");
|
|
7727
|
-
}
|
|
7728
|
-
} else {
|
|
7729
|
-
for (let i = 0; i < tempField.length; i++) {
|
|
7730
|
-
tempDirection.push("asc");
|
|
7731
|
-
}
|
|
7732
|
-
}
|
|
7733
|
-
}
|
|
7734
|
-
}
|
|
7735
7721
|
if (para.order !== "normal") {
|
|
7736
7722
|
let index = tempField.findIndex((el2) => el2 === para.key);
|
|
7737
7723
|
if (index > -1) {
|