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