agilebuilder-ui 1.1.39-sit1 → 1.1.39-sit2

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-f2020c47.js";
2
+ import { _ as s } from "./index-a31ac238.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-f2020c47.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-a31ac238.js";
2
2
  import { resolveComponent as u, openBlock as l, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as C, renderList as T, 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-f2020c47.js";
2
+ import { _ as I } from "./index-a31ac238.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.39-sit1",
3
+ "version": "1.1.39-sit2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -76,6 +76,7 @@
76
76
  :height="hasTableHeight"
77
77
  :class="tableClass"
78
78
  :tree-props="getTreeProps(parentProp, isSql, isLazy, dataSourceType)"
79
+ :scrollbar-always-on="scrollbarAlwaysOn"
79
80
  class="super-grid-main-table-view"
80
81
  @sort-change="handleSortChange"
81
82
  @select="selectRecord"
@@ -599,6 +600,18 @@ export default {
599
600
  } else {
600
601
  return this.gridData
601
602
  }
603
+ },
604
+ scrollbarAlwaysOn() {
605
+ // 检查全局 Vue 应用配置中是否有 scrollbarAlwaysOn 属性
606
+ if (window.$vueApp &&
607
+ window.$vueApp.config &&
608
+ window.$vueApp.config.globalProperties &&
609
+ window.$vueApp.config.globalProperties.scrollbarAlwaysOn !== undefined) {
610
+ // 返回全局配置的值
611
+ return window.$vueApp.config.globalProperties.scrollbarAlwaysOn;
612
+ }
613
+ // 默认返回 false
614
+ return false;
602
615
  }
603
616
  // ,
604
617
  // hasLoadMainTable() {
@@ -4,13 +4,14 @@
4
4
  background-color: $th-background-color;
5
5
  }
6
6
 
7
- &.is-scrolling-left, &.is-scrolling-right, &.is-scrolling-none {
8
- th.el-table-fixed-column--right{
9
- background-color: $th-background-color;
7
+ // 修改 Element Plus 表格滚动条颜色为 #aaaaaa
8
+ .el-scrollbar {
9
+ &__bar {
10
+ .el-scrollbar__thumb {
11
+ background-color: #aaaaaa;
12
+ opacity: 1;
13
+ }
10
14
  }
11
- th.el-table-fixed-column--left{
12
- background-color: $th-background-color;
13
- }
14
- }
15
+ }
15
16
  }
16
17
  }