test: tutorial data fetching in demo.

This commit is contained in:
Yanyan-Wang 2020-04-22 10:56:02 +08:00
parent 3f8d056f56
commit 8a85317705

View File

@ -595,7 +595,7 @@ const Tutorial = () => {
}
});
// graph.get('canvas').set('localRefresh', false);
$.getJSON('https://gw.alipayobjects.com/os/basement_prod/6cae02ab-4c29-44b2-b1fd-4005688febcb.json', data => {
// $.getJSON('https://gw.alipayobjects.com/os/basement_prod/6cae02ab-4c29-44b2-b1fd-4005688febcb.json', data => {
const main = async () => {
const response = await fetch(
'https://gw.alipayobjects.com/os/basement_prod/6cae02ab-4c29-44b2-b1fd-4005688febcb.json',