gxd-uni-library-editx 1.0.8-beta113 → 1.0.8-beta115
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
|
@@ -242,12 +242,6 @@
|
|
|
242
242
|
default: false, //false=自定义 true=系统导航
|
|
243
243
|
},
|
|
244
244
|
|
|
245
|
-
//是否为预览模式
|
|
246
|
-
wiewType: {
|
|
247
|
-
type: Boolean,
|
|
248
|
-
default: false,
|
|
249
|
-
}
|
|
250
|
-
|
|
251
245
|
|
|
252
246
|
},
|
|
253
247
|
data() {
|
|
@@ -290,7 +284,8 @@
|
|
|
290
284
|
observer: null,
|
|
291
285
|
|
|
292
286
|
//底部是否插槽模式
|
|
293
|
-
isFooterSolt: true
|
|
287
|
+
isFooterSolt: true,
|
|
288
|
+
wiewType: false,
|
|
294
289
|
|
|
295
290
|
}
|
|
296
291
|
},
|
|
@@ -428,6 +423,8 @@
|
|
|
428
423
|
},
|
|
429
424
|
|
|
430
425
|
created() {
|
|
426
|
+
this.wiewType = this.$configProject.isPreview;
|
|
427
|
+
|
|
431
428
|
//切换页面之后数据清空
|
|
432
429
|
this.uiErrorLogs = this.errorLogs;
|
|
433
430
|
this.uiLogs = this.logs;
|
package/src/utils/xd.common.js
CHANGED
|
@@ -276,14 +276,12 @@ export function handlePesponse(
|
|
|
276
276
|
|
|
277
277
|
//statusCode !== undefined
|
|
278
278
|
if (response['statusCode'] !== undefined) {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
level: 'alert'
|
|
286
|
-
});
|
|
279
|
+
//记录错误日志
|
|
280
|
+
if (typeof getApp().saveLogs === 'function'
|
|
281
|
+
&& !checkNotLogs(request.options)
|
|
282
|
+
) {
|
|
283
|
+
getApp().saveLogs(requestInfo, 'alert', 'ajax');
|
|
284
|
+
}
|
|
287
285
|
}
|
|
288
286
|
|
|
289
287
|
if (!$vm) {
|