mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
Merge pull request #13672 from dataease/pr@dev-v2_st
fix(系统设置): 收起导航菜单样式不正确
This commit is contained in:
@@ -9,6 +9,11 @@ const props = defineProps({
|
||||
})
|
||||
const emits = defineEmits(['setCollapse'])
|
||||
const setCollapse = () => {
|
||||
if (props.isCollapse) {
|
||||
setWidth()
|
||||
} else {
|
||||
width.value = 64
|
||||
}
|
||||
emits('setCollapse', !props.isCollapse)
|
||||
}
|
||||
const width = ref(280)
|
||||
|
||||
Reference in New Issue
Block a user