From c46ee40a8331c7cf591c818e47b9ddcf99a20cdd Mon Sep 17 00:00:00 2001 From: Kirk Lin Date: Fri, 29 Mar 2024 13:34:46 +0800 Subject: [PATCH] style: fix lint --- README.md | 8 +++++++- README.zh-CN.md | 8 +++++++- apps/admin/src/layouts/sidebar/components/Menu.vue | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1778a2a..7900848 100644 --- a/README.md +++ b/README.md @@ -243,4 +243,10 @@ docker run --rm -it -p 8080:80 celeris-web:latest ## Star History -[![Star History Chart](https://api.star-history.com/svg?repos=kirklin/celeris-web&type=Date)](https://star-history.com/#kirklin/celeris-web&Date) + + + + + Star History Chart + + diff --git a/README.zh-CN.md b/README.zh-CN.md index 94243c6..adb615f 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -245,4 +245,10 @@ docker run --rm -it -p 8080:80 celeris-web:latest ## Star History -[![Star History Chart](https://api.star-history.com/svg?repos=kirklin/celeris-web&type=Date)](https://star-history.com/#kirklin/celeris-web&Date) + + + + + Star History Chart + + diff --git a/apps/admin/src/layouts/sidebar/components/Menu.vue b/apps/admin/src/layouts/sidebar/components/Menu.vue index e0bc7e5..e332e17 100644 --- a/apps/admin/src/layouts/sidebar/components/Menu.vue +++ b/apps/admin/src/layouts/sidebar/components/Menu.vue @@ -83,7 +83,7 @@ watch( immediate: true, }, ); -const collapsedWidth = computed(() => collapsed ? 64 : 300); +const collapsedWidth = computed(() => collapsed.value ? 64 : 300);