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/one-component-per-file': 'off',
'vue/custom-event-name-casing': 'off',
'vue/v-on-event-hyphenation': 'off',
'vue/max-attributes-per-line': [
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"
/>
</template>
<template #actions class="ant-card-actions">
<template #actions>
<setting-outlined key="setting" />
<edit-outlined key="edit" />
<ellipsis-outlined key="ellipsis" />

View File

@ -75,7 +75,7 @@ export default defineComponent({
</button>
);
let jumpPrevIcon = (
<a rel='nofollow' class={`${pre}-item-link`}>
<a rel="nofollow" class={`${pre}-item-link`}>
{/* You can use transition effects in the container :) */}
<div class={`${pre}-item-container`}>
<DoubleLeftOutlined class={`${pre}-item-link-icon`} />
@ -84,7 +84,7 @@ export default defineComponent({
</a>
);
let jumpNextIcon = (
<a rel='nofollow' class={`${pre}-item-link`}>
<a rel="nofollow" class={`${pre}-item-link`}>
{/* You can use transition effects in the container :) */}
<div class={`${pre}-item-container`}>
<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"
style="width: 200px"
@popupScroll="popupScroll"
>
</a-select>
></a-select>
<a-select
v-model:value="value3"
: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"
placeholder="Please select"
style="width: 200px"
>
</a-select>
></a-select>
</a-space>
</template>
<script lang="ts">

View File

@ -609,5 +609,5 @@ function PickerPanel<DateType>() {
});
}
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);