mooho-base-admin-plus 2.10.5 → 2.10.6
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/history.md
CHANGED
|
@@ -19155,7 +19155,7 @@ service.interceptors.request.use(
|
|
|
19155
19155
|
let r = window.$mode === "development" ? Setting.apiBaseURL.dev : Setting.apiBaseURL.prd;
|
|
19156
19156
|
a.url = r + a.url;
|
|
19157
19157
|
const o = util$2.cookies.get("token");
|
|
19158
|
-
return a.headers.Authorization = "Bearer " + o, a;
|
|
19158
|
+
return a.headers.Authorization = "Bearer " + o, router && router.currentRoute && router.currentRoute.value && (a.headers["Frontend-Url"] = router.currentRoute.value.path), a;
|
|
19159
19159
|
},
|
|
19160
19160
|
(a) => {
|
|
19161
19161
|
console.log(a), Promise.reject(a);
|
|
@@ -22644,7 +22644,7 @@ const printTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc
|
|
|
22644
22644
|
x: Math.round((s.x + l.x) / 2),
|
|
22645
22645
|
y: Math.round((s.y + l.y) / 2)
|
|
22646
22646
|
}
|
|
22647
|
-
])) : o.pointCount == 2 && (o.points == null || JSON.parse(o.points).length != 2) && (
|
|
22647
|
+
])) : o.pointCount == 2 && (o.points == null || JSON.parse(o.points).length != 2) && (o.points = JSON.stringify([
|
|
22648
22648
|
{ x: Math.round((s.x - l.x) * 2 / 3 + l.x), y: Math.round((s.y - l.y) * 2 / 3 + l.y) },
|
|
22649
22649
|
{ x: Math.round((s.x - l.x) / 3 + l.x), y: Math.round((s.y - l.y) / 3 + l.y) }
|
|
22650
22650
|
])), this.data.outcomes.splice(a, 1, o);
|
|
@@ -28504,7 +28504,7 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
|
|
|
28504
28504
|
// 初始化
|
|
28505
28505
|
async init() {
|
|
28506
28506
|
this.isCancelable = this.page.applicationType.isCancelable, this.isRecallable = this.page.applicationType.isRecallable, setTimeout(() => {
|
|
28507
|
-
this
|
|
28507
|
+
this.$refs.table.init(this.page.tableViewCode, () => {
|
|
28508
28508
|
this.$refs.table.tableView.autoLoadDisable || this.$refs.table.loadData();
|
|
28509
28509
|
}), (this.page.formViewCode || "").trim() && this.$refs.form.init(this.page.formViewCode), ((this.page.formViewCode || "").trim() || (this.page.showViewCode || "").trim()) && this.$refs.showForm.init((this.page.showViewCode || "").trim() ? this.page.showViewCode : this.page.formViewCode);
|
|
28510
28510
|
});
|