cyy-vue-material 1.0.54 → 1.0.55
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.
package/package.json
CHANGED
|
@@ -115,6 +115,23 @@ export default {
|
|
|
115
115
|
imgfn(val) {
|
|
116
116
|
return process.env.REACT_APP_BASE_URL + val;
|
|
117
117
|
},
|
|
118
|
+
// 获取最小时间
|
|
119
|
+
minTime() {
|
|
120
|
+
let arr = [];
|
|
121
|
+
this.secGoodList.forEach((res) => {
|
|
122
|
+
arr.push(res.gmtModified);
|
|
123
|
+
});
|
|
124
|
+
for (let j = 0; j < arr.length - 1; j++) {
|
|
125
|
+
for (let i = 0; i < arr.length - 1; i++) {
|
|
126
|
+
if (arr[i] > arr[i + 1]) {
|
|
127
|
+
let temp = arr[i];
|
|
128
|
+
arr[i] = arr[i + 1];
|
|
129
|
+
arr[i + 1] = temp;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
return arr[0];
|
|
134
|
+
},
|
|
118
135
|
},
|
|
119
136
|
methods: {
|
|
120
137
|
getIsLc() {
|