Commit 121f9837 by 冒粤蓉

add logout func

1 parent 980c93a8
......@@ -25,6 +25,7 @@
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"babel-plugin-import": "^1.13.1",
"babel-polyfill": "^6.26.0",
"vue-cli-plugin-vue-next": "~0.1.4"
},
"browserslist": [
......
......@@ -10,7 +10,7 @@
<UserOutlined />
</template>
</a-avatar>
<span class="nav-top-text log-out">退出</span>
<span class="nav-top-text log-out" @click="logout">退出</span>
<!-- </a-popover> -->
</div>
</template>
......
......@@ -35,6 +35,7 @@ module.exports = {
args[0].title= '虎哥e盾'
return args
})
config.entry('main').add('babel-polyfill')
config.resolve.alias
.set("@", resolve("src"))
.set("styles", resolve("src/assets/css"))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!