modify style
This commit is contained in:
@@ -14,6 +14,7 @@ import { formatPercent } from '@/lib/common.js';
|
||||
|
||||
export default {
|
||||
props: [
|
||||
'skeleton',
|
||||
'items',
|
||||
'idField',
|
||||
'nameField',
|
||||
@@ -202,7 +203,8 @@ export default {
|
||||
formatter: params => {
|
||||
return params.data ? params.data.displayName : '';
|
||||
}
|
||||
}
|
||||
},
|
||||
animation: !self.skeleton
|
||||
}
|
||||
],
|
||||
media: [
|
||||
|
||||
@@ -137,6 +137,7 @@
|
||||
{id: '2', name: '---', value: 20, color: 'a5a5aa'},
|
||||
{id: '3', name: '---', value: 20, color: 'c5c5c9'}
|
||||
]"
|
||||
:skeleton="true"
|
||||
id-field="id"
|
||||
name-field="name"
|
||||
value-field="value"
|
||||
|
||||
Reference in New Issue
Block a user