✨(component): 补充 msg 案例说明
This commit is contained in:
@@ -22,9 +22,7 @@ const getStyle = computed<any>(() => {
|
||||
let allChild = item.value.parentNode.children;
|
||||
let allChildNum = allChild.length;
|
||||
|
||||
//当前的activeIndex
|
||||
let activeIndex,
|
||||
currentIndex = 0;
|
||||
let activeIndex, currentIndex = 0;
|
||||
for (let index = 0; index < allChild.length; index++) {
|
||||
const element = allChild[index];
|
||||
// @ts-ignore
|
||||
|
||||
@@ -55,10 +55,11 @@ const changeLocales = (lang: string, locales: any, merge: boolean) => {
|
||||
};
|
||||
|
||||
const changeTheme = (theme: string) => {
|
||||
|
||||
const defaultPartial: Partial<Theme> = {
|
||||
mode: 1,
|
||||
brightness: 100,
|
||||
contrast: 80,
|
||||
contrast: 90,
|
||||
sepia: 0,
|
||||
grayscale: 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user