gxd-uni-library-editx 1.0.77 → 1.0.78
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
|
@@ -101,7 +101,6 @@ export default {
|
|
|
101
101
|
return card
|
|
102
102
|
});
|
|
103
103
|
this.cardList = (this.cardList||[]).concat(arr);
|
|
104
|
-
this.cardPageNum++;
|
|
105
104
|
this.$xdHideLoading();
|
|
106
105
|
}).exec();
|
|
107
106
|
})
|
|
@@ -118,7 +117,8 @@ export default {
|
|
|
118
117
|
});
|
|
119
118
|
|
|
120
119
|
this.cardOrgList = this.$xdUniHelper.cloneDeep(validCardList);
|
|
121
|
-
|
|
120
|
+
console.warn(`cardOrgList:${this.cardOrgList.length}`)
|
|
121
|
+
this.cardComputedList = this.$xdUniHelper.cloneDeep(this.cardOrgList).slice(this.cardPageNum,this.cardPageLen);
|
|
122
122
|
if(this.cardComputedList.length < this.cardPageLen) {
|
|
123
123
|
this.hasContent = false;
|
|
124
124
|
}
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
143
143
|
setTimeout(()=>{
|
|
144
144
|
this.cardLoading = false;
|
|
145
145
|
this.$xdHideLoading();
|
|
146
|
-
this.cardComputedList = this.cardOrgList.slice(
|
|
146
|
+
this.cardComputedList = this.$xdUniHelper.cloneDeep(this.cardOrgList).slice(
|
|
147
147
|
this.cardPageNum*this.cardPageLen,
|
|
148
148
|
this.cardPageNum*this.cardPageLen + this.cardPageLen
|
|
149
149
|
);
|
package/src/utils/XdNetwork.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import helper from "@/utils/helper";
|
|
3
|
+
import {getJfbConfig,getColorBaseUrl} from "@/lib/conf.domain";
|
|
4
|
+
|
|
3
5
|
class XdNetwork {
|
|
4
6
|
constructor(){
|
|
5
7
|
this.eventObj = {
|
|
@@ -109,8 +111,8 @@ class XdNetwork {
|
|
|
109
111
|
getNetworkEnv(paths=[]){
|
|
110
112
|
if(paths.length === 0) {
|
|
111
113
|
paths = [
|
|
112
|
-
{path: '
|
|
113
|
-
{path: '
|
|
114
|
+
{path: `${getColorBaseUrl(getJfbConfig('apiBasePath'))}/common/10x10.png`, size:0.94},
|
|
115
|
+
{path: `${getColorBaseUrl(getJfbConfig('apiBasePath'))}/common/100x100.png`, size: 1.078},
|
|
114
116
|
]
|
|
115
117
|
}
|
|
116
118
|
let promiseArr= [];
|