diff --git a/src/icons/svg/icon-out.svg b/src/icons/svg/icon-out.svg new file mode 100644 index 0000000..5157fc7 --- /dev/null +++ b/src/icons/svg/icon-out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-out.svg b/src/icons/svg/icon-out.svg new file mode 100644 index 0000000..5157fc7 --- /dev/null +++ b/src/icons/svg/icon-out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index df4c5a8..3baca36 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -4,7 +4,7 @@
智慧城管平台
-
+
@@ -26,6 +26,9 @@ src="./static/images/login_images/small.png" fit="fill"/>
+
+ +
@@ -61,6 +64,11 @@ // this.$message('进入' + system.name) // debugger // this.$router.push(system.url) + }, + logout() { + this.$store.dispatch('LogOut').then(() => { + location.reload() // 为了重新实例化vue-router对象 避免bug + }) } } } @@ -194,6 +202,17 @@ bottom: 15px; left: 15px; } + .outSystem{ + position: fixed; + top: 35px; + right: 35px; + color: #ffffff; + font-size: 40px; + } + .outSystem:hover{ + color: #22a7f0; + cursor: pointer; + } }