mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 13:01:14 +08:00
fix(style): 部分选择器未随自定义样式前缀更改 (#229)
This commit is contained in:
parent
587fb161c7
commit
d7aa05f5c0
|
@ -83,6 +83,7 @@ import { CONTRACT_STATUS, CONTRACT_TYPES, CONTRACT_PAYMENT_TYPES } from '@/const
|
|||
import Trend from '@/components/trend/index.vue';
|
||||
import { getList } from '@/api/list';
|
||||
import { useSettingStore } from '@/store';
|
||||
import { prefix } from '@/config/global';
|
||||
|
||||
import { COLUMNS } from './constants';
|
||||
|
||||
|
@ -181,7 +182,7 @@ const offsetTop = computed(() => {
|
|||
});
|
||||
|
||||
const getContainer = () => {
|
||||
return document.querySelector('.tdesign-starter-layout');
|
||||
return document.querySelector(`.${prefix}-layout`);
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ import { MessagePlugin } from 'tdesign-vue-next';
|
|||
import Trend from '@/components/trend/index.vue';
|
||||
import { getList } from '@/api/list';
|
||||
import { useSettingStore } from '@/store';
|
||||
import { prefix } from '@/config/global';
|
||||
|
||||
import {
|
||||
CONTRACT_STATUS,
|
||||
|
@ -265,7 +266,7 @@ const offsetTop = computed(() => {
|
|||
});
|
||||
|
||||
const getContainer = () => {
|
||||
return document.querySelector('.tdesign-starter-layout');
|
||||
return document.querySelector(`.${prefix}-layout`);
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
.tdesign-starter-link {
|
||||
.@{starter-prefix}-link {
|
||||
color: var(--td-brand-color);
|
||||
text-decoration: none;
|
||||
margin-right: 24px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user