try { var data = { "1-6.dat": { "title": "1-6层钻孔程序", "data": [ { "tool_num": "T01", "tool_type": "P", "finish_size": "0.3", "size_tol_lower": "-∞", "size_tol_upper": "0.05", "drill_size": "0.3" }, { "tool_num": "T02", "tool_type": "P", "finish_size": "0.4", "size_tol_lower": "-∞", "size_tol_upper": "0.05", "drill_size": "0.4" } ] }, "2-5.dat": { "title": "2-5层钻孔程序", "data": [ { "tool_num": "T03", "tool_type": "P", "finish_size": "0.3", "size_tol_lower": "-∞", "size_tol_upper": "0.05", "drill_size": "0.3" }, { "tool_num": "T04", "tool_type": "P", "finish_size": "0.4", "size_tol_lower": "-∞", "size_tol_upper": "0.05", "drill_size": "0.4" } ] } }; this.loadTreeData(data); } catch (e) { print(e); } /*---ACTION--- ICON: "refresh" LABEL: "Refresh" LABEL_ZHCN: "刷新" LABEL_ZHTW: "刷新" ACCEL: "F5" TOOLTIP: "Refresh" TOOLTIP_ZHCN: "刷新" TOOLTIP_ZHTW: "刷新" CHECKED: "" GROUP: "" STYLE: "size=small button_style=icon" LANG: "JavaScript" STATUS: "Release" VERSION: "1" STATEHOOK: "" ---ACTION---*/