Don't hardcode property and its name
XiangpengHao opened this issue · comments
Xiangpeng Hao commented
https://github.com/XiangpengHao/pibench-frontend/blob/master/src/components/Analyze.vue#L8
We should create a dict to map the property with the name, instead of hardcoding them every time.
I'm busy with other functionality rn, will look back on this later.