Commit 1258c4b2 authored by forevertyler's avatar forevertyler

update

parent 4b8c7aa3
......@@ -92,6 +92,8 @@ export default {
},
},
created() {
this.dataList = [
{id:5, name:'生态环境', defIcon:'icon5.png', actIcon:'icon6.png', hover: false},
{id:2, name:'电子档案馆', defIcon:'icon9.png', actIcon:'icon10.png', hover: false},
......@@ -112,6 +114,9 @@ export default {
// });
},
methods: {
reload(){
location.reload()
},
navTo(type) {
var host = location.protocol + "//" + window.location.host;
if (type === "admin") {
......@@ -138,6 +143,9 @@ export default {
}
},
},
beforeDestroy(){
this.reload()
}
};
</script>
......
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