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
@@ -176,3 +176,4 @@ mooho-base-admin-plus@2.9.5 - 修复上一版本bug
176
176
  mooho-base-admin-plus@2.9.6 - 增加流程撤回
177
177
  mooho-base-admin-plus@2.10.0 - 优化表格默认筛选、排序设置
178
178
  mooho-base-admin-plus@2.10.5 - 修复引用代码无法获取router的问题
179
+ mooho-base-admin-plus@2.10.6 - 流程权限、流程图两点折线报错的Bug
@@ -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) && (this.getOutcomePoint(o), o.points = JSON.stringify([
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.allow("all") || (this.filterData.createUserID = this.info.id), this.$refs.table.init(this.page.tableViewCode, () => {
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
  });