fix: eslint

pull/35/head
xingyu 2023-09-13 12:12:46 +08:00
parent c07aa6ff3d
commit 731bc2ab0f
2 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@
"@/": "${workspaceRoot}/src" "@/": "${workspaceRoot}/src"
}, },
"prettier.enable": false, "prettier.enable": false,
"editor.formatOnSave": true, "editor.formatOnSave": false,
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true, "source.fixAll.eslint": true,
"source.organizeImports": false "source.organizeImports": false

View File

@ -231,7 +231,7 @@ export default defineComponent({
const propsData: Recordable = { const propsData: Recordable = {
allowClear: true, allowClear: true,
getPopupContainer: (trigger: Element) => trigger.parentNode.parentNode, getPopupContainer: (trigger: Element) => trigger.parentNode!.parentNode,
size, size,
...unref(getComponentsProps), ...unref(getComponentsProps),
disabled: unref(getDisable), disabled: unref(getDisable),
@ -283,9 +283,9 @@ export default defineComponent({
const { label, helpMessage, helpComponentProps, subLabel } = props.schema const { label, helpMessage, helpComponentProps, subLabel } = props.schema
const renderLabel = subLabel const renderLabel = subLabel
? ( ? (
<span> <span>
{label} <span class="text-secondary">{subLabel}</span> {label} <span class="text-secondary">{subLabel}</span>
</span> </span>
) )
: ( : (
label label