component_ryl_v3 1.1.12 → 1.1.13

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.
@@ -517,7 +517,7 @@ const _sfc_main$4 = {
517
517
  });
518
518
  };
519
519
  const setNormal = (value) => {
520
- isNormal.value = value || true;
520
+ isNormal.value = value;
521
521
  };
522
522
  const outSystem = () => {
523
523
  emit("exitSystem");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "component_ryl_v3",
3
3
  "private": false,
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "type": "module",
6
6
  "description": "Vue3 login form component with Element Plus",
7
7
  "main": "./dist/component_ryl_v3.js",
package/src/App.vue CHANGED
@@ -231,7 +231,7 @@ const copyBack = (err, success) => {
231
231
  const menuRef = ref(null)
232
232
  onMounted(() => {
233
233
  menuRef.value.getMainHeight()
234
- menuRef.value.setNormal()
234
+ menuRef.value.setNormal(true)
235
235
  })
236
236
  //#endregion 菜单组件
237
237
  const inputNumber = ref('')
@@ -326,7 +326,7 @@ const setMenuActive = (path) => {
326
326
  * 判断是否在 content inner_content 类名上添加 normal 类名
327
327
  */
328
328
  const setNormal = (value) => {
329
- isNormal.value = value || true
329
+ isNormal.value = value
330
330
  }
331
331
 
332
332
  /**