使用插件: json-schema-view-js(dependencies >>> "^2.0.1")
import JSONSchemaView from "json-schema-view-js";
let view = new JSONSchemaView(JSON.parse(palyload.funcResult));
// 二次解析
import JSONSchemaView from "json-schema-view-js";
this.rawData404 = new JSONSchemaView(this.obj);
解析带注释的JSON格式数据源
效果图