component_ryl_v3 1.1.13 → 1.1.14
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/README.md +1 -1
- package/dist/component_ryl_v3.js +1 -4
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/packages/handHeader/handHeader.vue +1 -8
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://
|
|
|
27
27
|
* 暴露方法(通过 ref 调用)
|
|
28
28
|
{Function} getMenu() - 处理传入的导航菜单
|
|
29
29
|
{Function} setMenuActive(path) - 设置菜单选中状态,参数 path 为菜单路径
|
|
30
|
-
{
|
|
30
|
+
{boolean} isNormal - 判断是否在 content inner_content 类名上添加 normal 类名, 用法:menuRef.value.isNormal = true
|
|
31
31
|
{Function} loadImg(content) - 等待图片加载完成后获取主容器高度,参数 content 为 HTML 内容
|
|
32
32
|
{Function} getMainHeight(flag) - 获取内容模块的滚动条状态,参数 flag 为是否跳过滚动条置顶
|
|
33
33
|
|
package/dist/component_ryl_v3.js
CHANGED
|
@@ -516,9 +516,6 @@ const _sfc_main$4 = {
|
|
|
516
516
|
localDefaultActive.value = path;
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
|
-
const setNormal = (value) => {
|
|
520
|
-
isNormal.value = value;
|
|
521
|
-
};
|
|
522
519
|
const outSystem = () => {
|
|
523
520
|
emit("exitSystem");
|
|
524
521
|
};
|
|
@@ -545,9 +542,9 @@ const _sfc_main$4 = {
|
|
|
545
542
|
});
|
|
546
543
|
});
|
|
547
544
|
__expose({
|
|
545
|
+
isNormal,
|
|
548
546
|
getMenu,
|
|
549
547
|
setMenuActive,
|
|
550
|
-
setNormal,
|
|
551
548
|
loadImg,
|
|
552
549
|
getMainHeight
|
|
553
550
|
});
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -322,13 +322,6 @@ const setMenuActive = (path) => {
|
|
|
322
322
|
})
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
/**
|
|
326
|
-
* 判断是否在 content inner_content 类名上添加 normal 类名
|
|
327
|
-
*/
|
|
328
|
-
const setNormal = (value) => {
|
|
329
|
-
isNormal.value = value
|
|
330
|
-
}
|
|
331
|
-
|
|
332
325
|
/**
|
|
333
326
|
* 退出系统
|
|
334
327
|
*/
|
|
@@ -377,9 +370,9 @@ onMounted(() => {
|
|
|
377
370
|
* 暴露方法给父组件调用
|
|
378
371
|
*/
|
|
379
372
|
defineExpose({
|
|
373
|
+
isNormal,
|
|
380
374
|
getMenu,
|
|
381
375
|
setMenuActive,
|
|
382
|
-
setNormal,
|
|
383
376
|
loadImg,
|
|
384
377
|
getMainHeight
|
|
385
378
|
})
|