diff --git a/src/components/Layer.vue b/src/components/Layer.vue index 30be10d..b051687 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -110,7 +110,7 @@ export default defineComponent({ tabValue.style.flexGrow = ""; tabValue.style.flexShrink = ""; tabValue.style.width = ""; - tabValue.style.minWidth = tabValue.style.flexBasis = `${width}px`; + tabValue.style.minWidth = tabValue.style.flexBasis = width; tabValue.style.margin = ""; } }