Explorar o código

3dModeling buildingCreate.js 姚强 commit at 2021-04-02

姚强 %!s(int64=4) %!d(string=hai) anos
pai
achega
dcd5b0c973
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      3dModeling/gads/buildingCreate.js

+ 12 - 0
3dModeling/gads/buildingCreate.js

@@ -493,3 +493,15 @@ function getTabledata(d) {
 
         // 列标题
         props: ['设备编号', '设备名称', '安装位置'],
+        // 列数据
+        items: ygArray
+    };
+    return tableData;
+}
+function createPerson(name, age, family) {
+    var o = new Object();
+    o.name = name;
+    o.age = age;
+    o.family = family;
+    o.say = function () {
+        alert(this.name);