Commit 1bc95301 authored by van.chen's avatar van.chen

四个主页面的表单验证

parent ae015821
...@@ -204,6 +204,7 @@ export class SensorDetailComponent implements OnInit { ...@@ -204,6 +204,7 @@ export class SensorDetailComponent implements OnInit {
update2(one) { update2(one) {
this.req2 = {...one}; this.req2 = {...one};
this.req2.type = one.pType;
this.isUpdate = true; this.isUpdate = true;
this.req2.oldName = one.name; this.req2.oldName = one.name;
this.isUC2 = true; this.isUC2 = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment