Commit 19ba187b authored by zhengke's avatar zhengke

修改

parent e744f93a
......@@ -29,7 +29,7 @@
</li>
<li>
<input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" />
<input type="button" class="normalBtn" value="新增" @click="IsShow=true" />
<input type="button" class="normalBtn" value="新增" @click="IsShow=true,resetMsg()" />
</li>
</ul>
</div>
......@@ -350,6 +350,23 @@
},
err => {}
);
},
//重置
resetMsg(){
let msg = {
Id: 0,
ParkName: "",
Country: 0,
Province: 0,
City: 0,
District: 0,
Address: "",
Lng: "",
Lat: "",
StockNum: 0,
}
this.PostMsg = msg;
}
},
mounted() {
......
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