Commit a466a462 authored by youjj's avatar youjj

修复状态bug

parent ea7bfd33
...@@ -296,6 +296,10 @@ ...@@ -296,6 +296,10 @@
.then(response => { .then(response => {
this.form = response.data; this.form = response.data;
this.state = response.data.state; this.state = response.data.state;
if (this.state == 0) {
this.state = undefined;
}
console.log('get:state:' + response.data.state);
this.dialogFormVisible = true; this.dialogFormVisible = true;
this.dialogStatus = 'update'; this.dialogStatus = 'update';
}); });
......
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