{"action":"created","issue":{"url":"https://api.github.com/repos/zuiidea/antd-admin/issues/504","repository_url":"https://api.github.com/repos/zuiidea/antd-admin","labels_url":"https://api.github.com/repos/zuiidea/antd-admin/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/zuiidea/antd-admin/issues/504/comments","events_url":"https://api.github.com/repos/zuiidea/antd-admin/issues/504/events","html_url":"https://github.com/zuiidea/antd-admin/issues/504","id":250360867,"node_id":"MDU6SXNzdWUyNTAzNjA4Njc=","number":504,"title":"关于chart从后台加载数据data的疑问","user":{"login":"qwerasdfzxvv","id":8506527,"node_id":"MDQ6VXNlcjg1MDY1Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/8506527?v=4","gravatar_id":"","url":"https://api.github.com/users/qwerasdfzxvv","html_url":"https://github.com/qwerasdfzxvv","followers_url":"https://api.github.com/users/qwerasdfzxvv/followers","following_url":"https://api.github.com/users/qwerasdfzxvv/following{/other_user}","gists_url":"https://api.github.com/users/qwerasdfzxvv/gists{/gist_id}","starred_url":"https://api.github.com/users/qwerasdfzxvv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwerasdfzxvv/subscriptions","organizations_url":"https://api.github.com/users/qwerasdfzxvv/orgs","repos_url":"https://api.github.com/users/qwerasdfzxvv/repos","events_url":"https://api.github.com/users/qwerasdfzxvv/events{/privacy}","received_events_url":"https://api.github.com/users/qwerasdfzxvv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-15T16:06:48Z","updated_at":"2018-06-06T03:18:22Z","closed_at":"2017-09-04T04:12:39Z","author_association":"NONE","body":"疑问帮忙解答一下，看了一下route/chart样例，都是写死的 const data = [\r\n  {\r\n    name: 'Page A',\r\n    uv: 4000,\r\n    pv: 2400,\r\n    amt: 2400,\r\n  }, {\r\n    name: 'Page B',\r\n    uv: 3000,\r\n    pv: 1398,\r\n    amt: 2210,\r\n  }。如果从后台调数据放到前台，例如在【一个界面】放6个chart表图像，每个图像都有不同的数据，是不是得model的state中使用:\r\nstate: {\r\nlist_1:[],\r\nlist_2:[],\r\nlist_3:[],\r\nlist_4:[],\r\nlist_5:[],\r\nlist_6:[],\r\n}\r\n这样会不会导致states占用内存很大？"},"comment":{"url":"https://api.github.com/repos/zuiidea/antd-admin/issues/comments/394927311","html_url":"https://github.com/zuiidea/antd-admin/issues/504#issuecomment-394927311","issue_url":"https://api.github.com/repos/zuiidea/antd-admin/issues/504","id":394927311,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDkyNzMxMQ==","user":{"login":"superlbr","id":8142164,"node_id":"MDQ6VXNlcjgxNDIxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8142164?v=4","gravatar_id":"","url":"https://api.github.com/users/superlbr","html_url":"https://github.com/superlbr","followers_url":"https://api.github.com/users/superlbr/followers","following_url":"https://api.github.com/users/superlbr/following{/other_user}","gists_url":"https://api.github.com/users/superlbr/gists{/gist_id}","starred_url":"https://api.github.com/users/superlbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superlbr/subscriptions","organizations_url":"https://api.github.com/users/superlbr/orgs","repos_url":"https://api.github.com/users/superlbr/repos","events_url":"https://api.github.com/users/superlbr/events{/privacy}","received_events_url":"https://api.github.com/users/superlbr/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T03:18:22Z","updated_at":"2018-06-06T03:18:22Z","author_association":"COLLABORATOR","body":"这是由于对于数据没有直观的概念，仔细观察http里的xhr请求，正常数据交互一个json小的可怜呐"}}
{"actor":{"display_login":"superlbr"}}