agilebuilder-ui 1.1.53-rc2 → 1.1.53-rc4

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.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-4de24459.js";
2
+ import { _ as s } from "./index-2b362c08.js";
3
3
  const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,4 +1,4 @@
1
- import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-4de24459.js";
1
+ import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-2b362c08.js";
2
2
  import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
3
3
  const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
4
4
  return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { _ as I } from "./index-4de24459.js";
2
+ import { _ as I } from "./index-2b362c08.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.53-rc2",
3
+ "version": "1.1.53-rc4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -332,9 +332,12 @@ export default {
332
332
  const watermark = await getWatermarkSetting()
333
333
  let isShowWatermark = false
334
334
  if(watermark && watermark.useRange && watermark.useRange.indexOf('annex')>=0){
335
- isShowWatermark = this.watermark.isShowWatermark
335
+ isShowWatermark = this.watermark.isShowWatermark===undefined?true:this.watermark.isShowWatermark
336
336
  }
337
337
  let watermarkContent = this.watermark?.content
338
+ if (!watermarkContent && watermark) {
339
+ watermarkContent = watermark.content
340
+ }
338
341
  if (!watermarkContent) {
339
342
  watermarkContent = ''
340
343
  }
@@ -332,6 +332,12 @@ function exportListData(
332
332
  }
333
333
  param['isShowWatermark'] = isShowWatermark
334
334
  let watermarkContent = exportOptions.watermarkContent
335
+ if (!watermarkContent && watermark) {
336
+ watermarkContent = watermark.content
337
+ }
338
+ if (!watermarkContent) {
339
+ watermarkContent = ''
340
+ }
335
341
  if(watermarkContent){
336
342
  param['watermarkContent'] = watermarkContent
337
343
  }
@@ -386,7 +392,10 @@ function exportListData(
386
392
  isShowWatermark = exportOptions.isShowWatermark===undefined || exportOptions.isShowWatermark===null?'true':exportOptions.isShowWatermark
387
393
  }
388
394
  let watermarkContent = exportOptions.watermarkContent
389
- if(!watermarkContent){
395
+ if (!watermarkContent && watermark) {
396
+ watermarkContent = watermark.content
397
+ }
398
+ if (!watermarkContent) {
390
399
  watermarkContent = ''
391
400
  }
392
401
  localStorage.setItem(uuid, 'ok')