mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-07 08:42:49 +08:00
🎨 格式化
This commit is contained in:
@@ -5,4 +5,4 @@ useTabs: false
|
|||||||
tabWidth: 2
|
tabWidth: 2
|
||||||
bracketSpacing: true
|
bracketSpacing: true
|
||||||
endOfLine: auto
|
endOfLine: auto
|
||||||
trailingComma: "all"
|
trailingComma: all
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ plugins:
|
|||||||
- stylelint-prettier
|
- stylelint-prettier
|
||||||
- stylelint-order
|
- stylelint-order
|
||||||
rules:
|
rules:
|
||||||
"prettier/prettier": true
|
prettier/prettier: true
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ const getName = (): string => {
|
|||||||
return props.modelValue.id === 10000005
|
return props.modelValue.id === 10000005
|
||||||
? "旅行者-空"
|
? "旅行者-空"
|
||||||
: props.modelValue.id === 10000007
|
: props.modelValue.id === 10000007
|
||||||
? "旅行者-荧"
|
? "旅行者-荧"
|
||||||
: props.modelValue.name;
|
: props.modelValue.name;
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ function getAvatarName(): string {
|
|||||||
return props.modelValue.cid === 10000005
|
return props.modelValue.cid === 10000005
|
||||||
? "旅行者-空"
|
? "旅行者-空"
|
||||||
: props.modelValue.cid === 10000007
|
: props.modelValue.cid === 10000007
|
||||||
? "旅行者-荧"
|
? "旅行者-荧"
|
||||||
: props.modelValue.name;
|
: props.modelValue.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 销毁
|
// 销毁
|
||||||
|
|||||||
Reference in New Issue
Block a user