style: prettier code

pull/1741/head
tanjinzhou 2020-01-19 17:01:41 +08:00
parent 4e65ae0e0a
commit 9e97b5ce78
3 changed files with 15 additions and 5 deletions

View File

@ -24,6 +24,6 @@ components/style/color/*.less
.gitattributes
.stylelintrc
.vcmrc
.logo
logo.png
.npmrc.template
.huskyrc
.huskyrc

View File

@ -9,7 +9,7 @@ Implement resizable column by integrate with [vue-draggable-resizable](https://g
</us>
<template>
<a-table bordered :columns="columns" :components="components" :dataSource="data">
<a-table bordered :columns="columns" :components="components" :data-source="data">
<template v-slot:action>
<a href="javascript:;">Delete</a>
</template>

View File

@ -19,8 +19,18 @@ export const TreeSelectProps = () => ({
loadData: PropTypes.func,
maxTagCount: PropTypes.number,
maxTagPlaceholder: PropTypes.any,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.array, PropTypes.number]),
defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.array, PropTypes.number]),
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.object,
PropTypes.array,
PropTypes.number,
]),
defaultValue: PropTypes.oneOfType([
PropTypes.string,
PropTypes.object,
PropTypes.array,
PropTypes.number,
]),
multiple: PropTypes.bool,
notFoundContent: PropTypes.any,
// onSelect: (value: any) => void,