Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 4, 2021
1 parent 2e52d4d commit 8e5b383
Showing 1 changed file with 10 additions and 34 deletions.
44 changes: 10 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,38 +100,17 @@ export default {
data () {
return {
tableData: [
{
id: 100,
name: 'test',
age: 26,
sex: '1',
region: ['shenzhen'],
date: null,
date1: null,
date2: null,
rate: 2,
flag: true
}
{ id: 100, name: 'test0', age: 28, sex: '1', region: ['shenzhen'], date: null, date1: null, date2: null, rate: 2, flag: true },
{ id: 101, name: 'test1', age: 32, sex: '0', region: ['guangzhou'], date: null, date1: null, date2: null, rate: 2, flag: true },
{ id: 102, name: 'test2', age: 36, sex: '1', region: ['shenzhen'], date: null, date1: null, date2: null, rate: 2, flag: true }
],
sexList: [
{
'label': '',
'value': '1'
},
{
'label': '',
'value': '0'
}
{ label: '', value: '1' },
{ label: '', value: '0' }
],
regionList: [
{
'label': '深圳',
'value': 'shenzhen'
},
{
'label': '广州',
'value': 'guangzhou'
}
{ label: '深圳', value: 'shenzhen' },
{ label: '广州', value: 'guangzhou' }
]
}
}
Expand All @@ -157,12 +136,9 @@ export default {
data () {
return {
tableData: [
{
id: 100,
name: 'test',
age: 26,
date: null
}
{ id: 100, name: 'test0', age: 28, date: null },
{ id: 101, name: 'test1', age: 32, date: null },
{ id: 102, name: 'test2', age: 36, date: null }
]
}
}
Expand Down

0 comments on commit 8e5b383

Please sign in to comment.