This commit is contained in:
2019-03-29 18:12:57 +08:00
parent fe9afaa584
commit 118426c9a1
9 changed files with 223 additions and 27 deletions

View File

@@ -100,12 +100,12 @@
doc:"sys_plat",
shows: JSON.stringify(["_id", "_key", "name", "token","remark", "status"])
};
red.getJSON("/meta/find", para, function (json) {
vm.sysPlats = json.rows;
red.getJSON("/meta/plat_list", {}, function (json) {
vm.sysPlats = json;
if (!vm.sysPlat) {
vm.sysPlat = json.rows[0];
vm.sysPlat = json[0];
}
red.setData("sysPlats", json.rows);
red.setData("sysPlats", json);
});
},
goIndex: function () {