n20-common-lib 2.6.62 → 2.6.63
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
|
@@ -161,12 +161,16 @@ export default {
|
|
|
161
161
|
},
|
|
162
162
|
{ loading: false, noMsg: true }
|
|
163
163
|
)
|
|
164
|
-
|
|
165
|
-
this
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
164
|
+
if (data) {
|
|
165
|
+
this.$set(
|
|
166
|
+
this.pageRemote,
|
|
167
|
+
this.pageKey.size,
|
|
168
|
+
JSON.parse(data)[this.pageKey.size] || this.pageObj[this.pageKey.size]
|
|
169
|
+
)
|
|
170
|
+
this.$set(this.pageObj, this.pageKey.size, JSON.parse(data)[this.pageKey.size] || this.pageObj[this.pageKey.size])
|
|
171
|
+
} else {
|
|
172
|
+
this.pageRemote = this.pageObj
|
|
173
|
+
}
|
|
170
174
|
this.$emit('change', this.pageObj)
|
|
171
175
|
},
|
|
172
176
|
async setRemoteData(data) {
|