Merge pull request #13672 from dataease/pr@dev-v2_st

fix(系统设置): 收起导航菜单样式不正确
This commit is contained in:
fit2cloud-chenyw
2024-11-29 15:22:58 +08:00
committed by GitHub

View File

@@ -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)