component_ryl_v3 1.1.14 → 1.1.20
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 +4 -1
- package/package.json +1 -1
- package/src/App.vue +0 -1
- package/src/packages/handHeader/handHeader.vue +8 -1
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
|
+
{Function} setNormal(value) - 判断是否在 content inner_content 类名上添加 normal 类名
|
|
31
31
|
{Function} loadImg(content) - 等待图片加载完成后获取主容器高度,参数 content 为 HTML 内容
|
|
32
32
|
{Function} getMainHeight(flag) - 获取内容模块的滚动条状态,参数 flag 为是否跳过滚动条置顶
|
|
33
33
|
|
package/dist/component_ryl_v3.js
CHANGED
|
@@ -516,6 +516,9 @@ const _sfc_main$4 = {
|
|
|
516
516
|
localDefaultActive.value = path;
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
|
+
const setNormal = (value) => {
|
|
520
|
+
isNormal.value = value;
|
|
521
|
+
};
|
|
519
522
|
const outSystem = () => {
|
|
520
523
|
emit("exitSystem");
|
|
521
524
|
};
|
|
@@ -542,9 +545,9 @@ const _sfc_main$4 = {
|
|
|
542
545
|
});
|
|
543
546
|
});
|
|
544
547
|
__expose({
|
|
545
|
-
isNormal,
|
|
546
548
|
getMenu,
|
|
547
549
|
setMenuActive,
|
|
550
|
+
setNormal,
|
|
548
551
|
loadImg,
|
|
549
552
|
getMainHeight
|
|
550
553
|
});
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -322,6 +322,13 @@ 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
|
+
|
|
325
332
|
/**
|
|
326
333
|
* 退出系统
|
|
327
334
|
*/
|
|
@@ -370,9 +377,9 @@ onMounted(() => {
|
|
|
370
377
|
* 暴露方法给父组件调用
|
|
371
378
|
*/
|
|
372
379
|
defineExpose({
|
|
373
|
-
isNormal,
|
|
374
380
|
getMenu,
|
|
375
381
|
setMenuActive,
|
|
382
|
+
setNormal,
|
|
376
383
|
loadImg,
|
|
377
384
|
getMainHeight
|
|
378
385
|
})
|