style: lint format

pull/4937/head
tangjinzhou 2021-11-26 14:55:28 +08:00
parent e28168e0be
commit 5398550d35
5 changed files with 7 additions and 8 deletions

View File

@ -84,6 +84,7 @@ module.exports = {
'vue/prop-name-casing': 'off', 'vue/prop-name-casing': 'off',
'vue/one-component-per-file': 'off', 'vue/one-component-per-file': 'off',
'vue/custom-event-name-casing': 'off', 'vue/custom-event-name-casing': 'off',
'vue/v-on-event-hyphenation': 'off',
'vue/max-attributes-per-line': [ 'vue/max-attributes-per-line': [
2, 2,
{ {

View File

@ -24,7 +24,7 @@ A Card that supports `cover`, `avatar`, `title` and `description`.
src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png" src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"
/> />
</template> </template>
<template #actions class="ant-card-actions"> <template #actions>
<setting-outlined key="setting" /> <setting-outlined key="setting" />
<edit-outlined key="edit" /> <edit-outlined key="edit" />
<ellipsis-outlined key="ellipsis" /> <ellipsis-outlined key="ellipsis" />

View File

@ -75,7 +75,7 @@ export default defineComponent({
</button> </button>
); );
let jumpPrevIcon = ( let jumpPrevIcon = (
<a rel='nofollow' class={`${pre}-item-link`}> <a rel="nofollow" class={`${pre}-item-link`}>
{/* You can use transition effects in the container :) */} {/* You can use transition effects in the container :) */}
<div class={`${pre}-item-container`}> <div class={`${pre}-item-container`}>
<DoubleLeftOutlined class={`${pre}-item-link-icon`} /> <DoubleLeftOutlined class={`${pre}-item-link-icon`} />
@ -84,7 +84,7 @@ export default defineComponent({
</a> </a>
); );
let jumpNextIcon = ( let jumpNextIcon = (
<a rel='nofollow' class={`${pre}-item-link`}> <a rel="nofollow" class={`${pre}-item-link`}>
{/* You can use transition effects in the container :) */} {/* You can use transition effects in the container :) */}
<div class={`${pre}-item-container`}> <div class={`${pre}-item-container`}>
<DoubleRightOutlined class={`${pre}-item-link-icon`} /> <DoubleRightOutlined class={`${pre}-item-link-icon`} />

View File

@ -39,8 +39,7 @@ The height of the input field for the select defaults to 32px. If size is set to
placeholder="Please select" placeholder="Please select"
style="width: 200px" style="width: 200px"
@popupScroll="popupScroll" @popupScroll="popupScroll"
> ></a-select>
</a-select>
<a-select <a-select
v-model:value="value3" v-model:value="value3"
:options="options" :options="options"
@ -48,8 +47,7 @@ The height of the input field for the select defaults to 32px. If size is set to
:size="size" :size="size"
placeholder="Please select" placeholder="Please select"
style="width: 200px" style="width: 200px"
> ></a-select>
</a-select>
</a-space> </a-space>
</template> </template>
<script lang="ts"> <script lang="ts">

View File

@ -609,5 +609,5 @@ function PickerPanel<DateType>() {
}); });
} }
const InterPickerPanel = PickerPanel<any>(); const InterPickerPanel = PickerPanel<any>();
export default <DateType extends any>(props: MergedPickerPanelProps<DateType>): JSX.Element => export default <DateType,>(props: MergedPickerPanelProps<DateType>): JSX.Element =>
createVNode(InterPickerPanel, props); createVNode(InterPickerPanel, props);