zzz-pc-view 0.0.48 → 0.0.49
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/package.json +1 -1
- package/src/index.es.js +5 -5
- package/src/index.umd.js +2 -2
- package/src/webUtils/useNavStore.d.ts +4 -4
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -2152,7 +2152,7 @@ class WebSocketManager {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
}
|
|
2154
2154
|
var ZNavTypeEnum = /* @__PURE__ */ ((ZNavTypeEnum2) => {
|
|
2155
|
-
ZNavTypeEnum2[ZNavTypeEnum2["
|
|
2155
|
+
ZNavTypeEnum2[ZNavTypeEnum2["Folder"] = 1] = "Folder";
|
|
2156
2156
|
ZNavTypeEnum2[ZNavTypeEnum2["MENU"] = 2] = "MENU";
|
|
2157
2157
|
ZNavTypeEnum2[ZNavTypeEnum2["BUTTON"] = 3] = "BUTTON";
|
|
2158
2158
|
return ZNavTypeEnum2;
|
|
@@ -2163,9 +2163,9 @@ class ZNavDir extends ZBaseNav {
|
|
|
2163
2163
|
constructor() {
|
|
2164
2164
|
super(...arguments);
|
|
2165
2165
|
/**
|
|
2166
|
-
* 导航目录的类型,固定为 ZNavTypeEnum.
|
|
2166
|
+
* 导航目录的类型,固定为 ZNavTypeEnum.Folder
|
|
2167
2167
|
* @readonly
|
|
2168
|
-
* @type {ZNavTypeEnum.
|
|
2168
|
+
* @type {ZNavTypeEnum.Folder}
|
|
2169
2169
|
*/
|
|
2170
2170
|
__publicField(this, "type", 1);
|
|
2171
2171
|
}
|
|
@@ -11493,8 +11493,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
11493
11493
|
return openBlock(), createElementBlock(Fragment, {
|
|
11494
11494
|
key: nav.id
|
|
11495
11495
|
}, [
|
|
11496
|
-
nav.type === unref(ZWebUtils).ZNavTypeEnum.
|
|
11497
|
-
nav.type === unref(ZWebUtils).ZNavTypeEnum.
|
|
11496
|
+
nav.type === unref(ZWebUtils).ZNavTypeEnum.Folder ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11497
|
+
nav.type === unref(ZWebUtils).ZNavTypeEnum.Folder && _ctx.onlyShowRoot ? (openBlock(), createElementBlock("li", {
|
|
11498
11498
|
key: 0,
|
|
11499
11499
|
tabindex: "0",
|
|
11500
11500
|
class: normalizeClass(["flex center layout-nav-link el-menu-item", {
|