@@ -511,6 +511,17 @@ export default {
if(res.code == 200) {
if(res.data.state) {
this.$refs.agentPageRef.agentForm = res.data
+ } else {
+ this.$refs.agentPageRef.agentForm = {
+ sketch: '',
+ agentType: 1,
+ tagerNo: '',
+ tagerName: undefined,
+ state: 1,
+ startTime: '',
+ endTime: '',
+ describe: ''
+ }
}
})