.
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user