Skip to content

Instantly share code, notes, and snippets.

@fengliu222
Created September 9, 2017 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fengliu222/37155ff3f8e414424961994376f5726d to your computer and use it in GitHub Desktop.
Save fengliu222/37155ff3f8e414424961994376f5726d to your computer and use it in GitHub Desktop.
/**
* 走势图彩种结构
*/
const lottery = {
fields: [
{
key: 'number',
name: '期号',
},
{
key: 'result',
name: '开奖号码',
},
{
key: '万位',
name: '开奖号码',
subColumns: [
'0',
'1',
'2',
'...',
],
},
],
};
/**
* 走势图单条数据的结构
* @type {[null]}
*/
const res = [
{
Columns: [
{
key: 'number',
number: '20170909060',
},
{
key: 'result',
number: '20170909060',
},
{
key: 'xxx',
fields: [
{
number: '10',
active: false,
},
{
number: '09',
active: true,
},
],
},
],
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment