mooho-base-admin-plus 2.4.33 → 2.4.35

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
@@ -65,3 +65,5 @@
65
65
  2.4.31 - 增加自定义功能导入导出
66
66
  2.4.32 - 修复切换强制换行后不会马上换行的bug
67
67
  2.4.33 - 修复多选可筛选选择框无法删除已选项的bug
68
+ 2.4.34 - 修复带参数的路由地址无法处理权限点的bug
69
+ 2.4.35 - showMultiLine函数增加判断,非字符串不处理
@@ -22170,7 +22170,11 @@ var menu = {
22170
22170
  }
22171
22171
  let permissions = {};
22172
22172
  res2.permissions.forEach((key) => {
22173
- permissions[key.split("?")[0]] = true;
22173
+ let permissionKey = key.split("?")[0];
22174
+ if (key.split("$").length > 1) {
22175
+ permissionKey = permissionKey + "$" + key.split("$")[1];
22176
+ }
22177
+ permissions[permissionKey] = true;
22174
22178
  });
22175
22179
  state.userPermissions = permissions;
22176
22180
  setNativePermission(permissions);
@@ -23089,10 +23093,10 @@ var mixinPage = {
23089
23093
  }
23090
23094
  },
23091
23095
  showMultiLine(content) {
23092
- if (content == null) {
23093
- return null;
23094
- } else {
23096
+ if (typeof content === "string") {
23095
23097
  return content.replaceAll(" ", "&nbsp;").replaceAll("\n", "<br/>");
23098
+ } else {
23099
+ return content;
23096
23100
  }
23097
23101
  },
23098
23102
  parseData(model2, expression2) {
@@ -23849,6 +23853,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23849
23853
  createElementVNode("div", null, [
23850
23854
  withDirectives(createVNode$1(_component_Avatar, {
23851
23855
  icon: "md-apps",
23856
+ style: { "font-size": "10px" },
23852
23857
  size: "small"
23853
23858
  }, null, 512), [
23854
23859
  [_directive_color, "#1890ff"],
@@ -23940,38 +23945,26 @@ const _sfc_main$1p = {
23940
23945
  methods: {}
23941
23946
  };
23942
23947
  const _withScopeId = (n2) => (pushScopeId("data-v-9f6133a2"), n2 = n2(), popScopeId(), n2);
23943
- const _hoisted_1$19 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23944
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u4EFB\u52A1")
23945
- ], -1));
23946
- const _hoisted_2$H = { class: "stat" };
23947
- const _hoisted_3$B = { class: "icon" };
23948
- const _hoisted_4$r = { class: "content" };
23949
- const _hoisted_5$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23950
- const _hoisted_6$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23951
- const _hoisted_7$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23952
- /* @__PURE__ */ createElementVNode("span", null, "\u539F\u59CB\u8BB0\u5F55")
23953
- ], -1));
23954
- const _hoisted_8$a = { class: "stat" };
23955
- const _hoisted_9$8 = { class: "icon" };
23956
- const _hoisted_10$7 = { class: "content" };
23957
- const _hoisted_11$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23958
- const _hoisted_12$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23959
- const _hoisted_13$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23960
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u62A5\u544A")
23961
- ], -1));
23962
- const _hoisted_14$2 = { class: "stat" };
23963
- const _hoisted_15$2 = { class: "icon" };
23964
- const _hoisted_16$2 = { class: "content" };
23965
- const _hoisted_17$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23966
- const _hoisted_18$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23967
- const _hoisted_19$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23968
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u6837\u4EF6")
23969
- ], -1));
23970
- const _hoisted_20$2 = { class: "stat" };
23971
- const _hoisted_21$2 = { class: "icon" };
23972
- const _hoisted_22$2 = { class: "content" };
23973
- const _hoisted_23$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23974
- const _hoisted_24$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23948
+ const _hoisted_1$19 = { class: "stat" };
23949
+ const _hoisted_2$H = { class: "icon" };
23950
+ const _hoisted_3$B = { class: "content" };
23951
+ const _hoisted_4$r = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23952
+ const _hoisted_5$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23953
+ const _hoisted_6$d = { class: "stat" };
23954
+ const _hoisted_7$b = { class: "icon" };
23955
+ const _hoisted_8$a = { class: "content" };
23956
+ const _hoisted_9$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23957
+ const _hoisted_10$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23958
+ const _hoisted_11$3 = { class: "stat" };
23959
+ const _hoisted_12$3 = { class: "icon" };
23960
+ const _hoisted_13$3 = { class: "content" };
23961
+ const _hoisted_14$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23962
+ const _hoisted_15$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23963
+ const _hoisted_16$2 = { class: "stat" };
23964
+ const _hoisted_17$2 = { class: "icon" };
23965
+ const _hoisted_18$2 = { class: "content" };
23966
+ const _hoisted_19$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23967
+ const _hoisted_20$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23975
23968
  function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23976
23969
  const _component_Icon = resolveComponent("Icon");
23977
23970
  const _component_Numeral = resolveComponent("Numeral");
@@ -23983,7 +23976,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23983
23976
  const _directive_font = resolveDirective("font");
23984
23977
  return openBlock(), createElementBlock("div", null, [
23985
23978
  createVNode$1(_component_Row, {
23986
- gutter: 24,
23979
+ gutter: 12,
23987
23980
  class: "ivu-mt"
23988
23981
  }, {
23989
23982
  default: withCtx(() => [
@@ -23993,31 +23986,27 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23993
23986
  lg: 12,
23994
23987
  md: 12,
23995
23988
  sm: 24,
23996
- xs: 24,
23997
- class: "ivu-mb"
23989
+ xs: 24
23998
23990
  }, {
23999
23991
  default: withCtx(() => [
24000
23992
  createElementVNode("div", null, [
24001
- createVNode$1(_component_Row, { gutter: 24 }, {
23993
+ createVNode$1(_component_Row, { gutter: 12 }, {
24002
23994
  default: withCtx(() => [
24003
23995
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24004
23996
  default: withCtx(() => [
24005
- createVNode$1(_component_Card, {
24006
- bordered: false,
24007
- padding: 12
24008
- }, {
23997
+ createVNode$1(_component_Card, { bordered: false }, {
24009
23998
  title: withCtx(() => [
24010
- _hoisted_1$19
23999
+ createTextVNode("\u68C0\u6D4B\u4EFB\u52A1")
24011
24000
  ]),
24012
24001
  default: withCtx(() => [
24013
- createElementVNode("div", _hoisted_2$H, [
24014
- createElementVNode("div", _hoisted_3$B, [
24002
+ createElementVNode("div", _hoisted_1$19, [
24003
+ createElementVNode("div", _hoisted_2$H, [
24015
24004
  createVNode$1(_component_Icon, {
24016
24005
  type: "md-speedometer",
24017
24006
  color: "rgb(24, 144, 255)"
24018
24007
  })
24019
24008
  ]),
24020
- createElementVNode("div", _hoisted_4$r, [
24009
+ createElementVNode("div", _hoisted_3$B, [
24021
24010
  createElementVNode("div", null, [
24022
24011
  withDirectives(createVNode$1(_component_Numeral, {
24023
24012
  value: "85",
@@ -24025,7 +24014,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24025
24014
  }, null, 512), [
24026
24015
  [_directive_font, 30]
24027
24016
  ]),
24028
- _hoisted_5$h
24017
+ _hoisted_4$r
24029
24018
  ]),
24030
24019
  createElementVNode("div", null, [
24031
24020
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24034,7 +24023,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24034
24023
  }, null, 512), [
24035
24024
  [_directive_font, 20]
24036
24025
  ]),
24037
- _hoisted_6$d
24026
+ _hoisted_5$h
24038
24027
  ])
24039
24028
  ])
24040
24029
  ])
@@ -24046,22 +24035,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24046
24035
  }, 16),
24047
24036
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24048
24037
  default: withCtx(() => [
24049
- createVNode$1(_component_Card, {
24050
- bordered: false,
24051
- padding: 12
24052
- }, {
24038
+ createVNode$1(_component_Card, { bordered: false }, {
24053
24039
  title: withCtx(() => [
24054
- _hoisted_7$b
24040
+ createTextVNode("\u539F\u59CB\u8BB0\u5F55")
24055
24041
  ]),
24056
24042
  default: withCtx(() => [
24057
- createElementVNode("div", _hoisted_8$a, [
24058
- createElementVNode("div", _hoisted_9$8, [
24043
+ createElementVNode("div", _hoisted_6$d, [
24044
+ createElementVNode("div", _hoisted_7$b, [
24059
24045
  createVNode$1(_component_Icon, {
24060
24046
  type: "md-list-box",
24061
24047
  color: "rgb(250, 173, 20)"
24062
24048
  })
24063
24049
  ]),
24064
- createElementVNode("div", _hoisted_10$7, [
24050
+ createElementVNode("div", _hoisted_8$a, [
24065
24051
  createElementVNode("div", null, [
24066
24052
  withDirectives(createVNode$1(_component_Numeral, {
24067
24053
  value: "85",
@@ -24069,7 +24055,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24069
24055
  }, null, 512), [
24070
24056
  [_directive_font, 30]
24071
24057
  ]),
24072
- _hoisted_11$3
24058
+ _hoisted_9$8
24073
24059
  ]),
24074
24060
  createElementVNode("div", null, [
24075
24061
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24078,7 +24064,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24078
24064
  }, null, 512), [
24079
24065
  [_directive_font, 20]
24080
24066
  ]),
24081
- _hoisted_12$3
24067
+ _hoisted_10$7
24082
24068
  ])
24083
24069
  ])
24084
24070
  ])
@@ -24090,22 +24076,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24090
24076
  }, 16),
24091
24077
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24092
24078
  default: withCtx(() => [
24093
- createVNode$1(_component_Card, {
24094
- bordered: false,
24095
- padding: 12
24096
- }, {
24079
+ createVNode$1(_component_Card, { bordered: false }, {
24097
24080
  title: withCtx(() => [
24098
- _hoisted_13$3
24081
+ createTextVNode("\u68C0\u6D4B\u62A5\u544A")
24099
24082
  ]),
24100
24083
  default: withCtx(() => [
24101
- createElementVNode("div", _hoisted_14$2, [
24102
- createElementVNode("div", _hoisted_15$2, [
24084
+ createElementVNode("div", _hoisted_11$3, [
24085
+ createElementVNode("div", _hoisted_12$3, [
24103
24086
  createVNode$1(_component_Icon, {
24104
24087
  type: "md-print",
24105
24088
  color: "rgb(19, 194, 194)"
24106
24089
  })
24107
24090
  ]),
24108
- createElementVNode("div", _hoisted_16$2, [
24091
+ createElementVNode("div", _hoisted_13$3, [
24109
24092
  createElementVNode("div", null, [
24110
24093
  withDirectives(createVNode$1(_component_Numeral, {
24111
24094
  value: "85",
@@ -24113,7 +24096,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24113
24096
  }, null, 512), [
24114
24097
  [_directive_font, 30]
24115
24098
  ]),
24116
- _hoisted_17$2
24099
+ _hoisted_14$2
24117
24100
  ]),
24118
24101
  createElementVNode("div", null, [
24119
24102
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24122,7 +24105,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24122
24105
  }, null, 512), [
24123
24106
  [_directive_font, 20]
24124
24107
  ]),
24125
- _hoisted_18$2
24108
+ _hoisted_15$2
24126
24109
  ])
24127
24110
  ])
24128
24111
  ])
@@ -24134,22 +24117,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24134
24117
  }, 16),
24135
24118
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24136
24119
  default: withCtx(() => [
24137
- createVNode$1(_component_Card, {
24138
- bordered: false,
24139
- padding: 12
24140
- }, {
24120
+ createVNode$1(_component_Card, { bordered: false }, {
24141
24121
  title: withCtx(() => [
24142
- _hoisted_19$2
24122
+ createTextVNode("\u68C0\u6D4B\u6837\u4EF6")
24143
24123
  ]),
24144
24124
  default: withCtx(() => [
24145
- createElementVNode("div", _hoisted_20$2, [
24146
- createElementVNode("div", _hoisted_21$2, [
24125
+ createElementVNode("div", _hoisted_16$2, [
24126
+ createElementVNode("div", _hoisted_17$2, [
24147
24127
  createVNode$1(_component_Icon, {
24148
24128
  type: "md-analytics",
24149
24129
  color: "#b37feb"
24150
24130
  })
24151
24131
  ]),
24152
- createElementVNode("div", _hoisted_22$2, [
24132
+ createElementVNode("div", _hoisted_18$2, [
24153
24133
  createElementVNode("div", null, [
24154
24134
  withDirectives(createVNode$1(_component_Numeral, {
24155
24135
  value: "85",
@@ -24157,7 +24137,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24157
24137
  }, null, 512), [
24158
24138
  [_directive_font, 30]
24159
24139
  ]),
24160
- _hoisted_23$2
24140
+ _hoisted_19$2
24161
24141
  ]),
24162
24142
  createElementVNode("div", null, [
24163
24143
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24166,7 +24146,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24166
24146
  }, null, 512), [
24167
24147
  [_directive_font, 20]
24168
24148
  ]),
24169
- _hoisted_24$2
24149
+ _hoisted_20$2
24170
24150
  ])
24171
24151
  ])
24172
24152
  ])
@@ -24188,8 +24168,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24188
24168
  lg: 8,
24189
24169
  md: 8,
24190
24170
  sm: 12,
24191
- xs: 24,
24192
- class: "ivu-mb"
24171
+ xs: 24
24193
24172
  }, {
24194
24173
  default: withCtx(() => [
24195
24174
  createVNode$1(_component_notice_list)
@@ -24201,8 +24180,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24201
24180
  lg: 8,
24202
24181
  md: 8,
24203
24182
  sm: 12,
24204
- xs: 24,
24205
- class: "ivu-mb"
24183
+ xs: 24
24206
24184
  }, {
24207
24185
  default: withCtx(() => [
24208
24186
  createVNode$1(_component_shortcut)