We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<RelationGraph ref="graphRef" :options="graphOptions"> const graphRef = ref<RelationGraphComponent>(); onMounted(() => { init(); setGraphData(); }); const setGraphData = async () => { const __graph_json_data: RGJsonData = rdata.value; const graphInstance = graphRef.value!.getInstance(); await graphInstance.setJsonData(__graph_json_data); };
不知道怎们回事,使用json文件的数据的时候可以,我从数据库查询的数据好像不行
The text was updated successfully, but these errors were encountered:
似乎那个时候还没渲染
Sorry, something went wrong.
已解决,使用Json序列化 const __graph_json_data: RGJsonData = JSON.parse(JSON.stringify(rdata.value));
No branches or pull requests
不知道怎们回事,使用json文件的数据的时候可以,我从数据库查询的数据好像不行
![image](https://private-user-images.githubusercontent.com/75030331/341328880-5d7e7787-eea3-45e9-b48b-85509ff7f529.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNTUwODMsIm5iZiI6MTcyMzI1NDc4MywicGF0aCI6Ii83NTAzMDMzMS8zNDEzMjg4ODAtNWQ3ZTc3ODctZWVhMy00NWU5LWI0OGItODU1MDlmZjdmNTI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEwVDAxNTMwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVhN2IwMmNjMzJmNDk2NmY3YjhkMjRmMDY3ZDNkMmY1ODI2ZGMxNWMzYzgyNTgxNzQzMDhkNTFlMDgwOTQwZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qqP-Khm0pdCBl5X85sH-QRs_-Ek4QzNXeHF0mdyFrdA)
The text was updated successfully, but these errors were encountered: