tx-sider 2.0.6 → 2.0.8
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/lib/TXUI.mjs +17 -3
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -28211,6 +28211,18 @@ const _sfc_main = {
|
|
|
28211
28211
|
onUnmounted(() => {
|
|
28212
28212
|
clearInterval(setOfBookIdTimer);
|
|
28213
28213
|
});
|
|
28214
|
+
const systemVisibleTrue = async () => {
|
|
28215
|
+
data3.systemVisible = true;
|
|
28216
|
+
};
|
|
28217
|
+
const onFunOpen = () => {
|
|
28218
|
+
if (permissionModuleList.value.length === 0) {
|
|
28219
|
+
message.info("你暂无权限,请联系管理员分配");
|
|
28220
|
+
} else if (permissionModuleList.value.length === 1) {
|
|
28221
|
+
oneModule(permissionModuleList.value[0].name);
|
|
28222
|
+
} else {
|
|
28223
|
+
systemVisibleTrue();
|
|
28224
|
+
}
|
|
28225
|
+
};
|
|
28214
28226
|
return {
|
|
28215
28227
|
...refData,
|
|
28216
28228
|
beforeUpload,
|
|
@@ -28253,13 +28265,15 @@ const _sfc_main = {
|
|
|
28253
28265
|
ccflowData,
|
|
28254
28266
|
onClickTodo,
|
|
28255
28267
|
modeuleInfos,
|
|
28268
|
+
systemVisibleTrue,
|
|
28256
28269
|
/*******start 2.0*****/
|
|
28257
|
-
permissionModuleList
|
|
28270
|
+
permissionModuleList,
|
|
28271
|
+
onFunOpen
|
|
28258
28272
|
/*******end*****/
|
|
28259
28273
|
};
|
|
28260
28274
|
}
|
|
28261
28275
|
};
|
|
28262
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28276
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-ead1f1e4"), n2 = n2(), popScopeId(), n2);
|
|
28263
28277
|
const _hoisted_1 = {
|
|
28264
28278
|
class: "bg-white defaultTS funcTC relative",
|
|
28265
28279
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29208,7 +29222,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29208
29222
|
}, 8, ["show"])
|
|
29209
29223
|
], 64);
|
|
29210
29224
|
}
|
|
29211
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29225
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ead1f1e4"]]);
|
|
29212
29226
|
const components = [TSider];
|
|
29213
29227
|
installComponents();
|
|
29214
29228
|
function installComponents() {
|