perf: 优化template-admin-ts自带样式导入逻辑
This commit is contained in:
@ -102,9 +102,9 @@ provide('toggleDrawerMenu', () => {
|
||||
</a-layout>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
@nav-size-height: 72px;
|
||||
@layout-max-width: 1100px;
|
||||
<style scoped lang="scss">
|
||||
$nav-size-height: 72px;
|
||||
$layout-max-width: 1100px;
|
||||
|
||||
.layout {
|
||||
width: 100%;
|
||||
@ -116,7 +116,7 @@ provide('toggleDrawerMenu', () => {
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
height: @nav-size-height;
|
||||
height: $nav-size-height;
|
||||
}
|
||||
.layout-sider {
|
||||
position: fixed;
|
||||
|
||||
Reference in New Issue
Block a user