diff --git a/src/App.vue b/src/App.vue index 17defbc..3cb1f6f 100755 --- a/src/App.vue +++ b/src/App.vue @@ -11,7 +11,7 @@ - + @@ -34,6 +34,7 @@ export default { data() { return { isCollapse: true, + user:null }; }, components: { @@ -46,6 +47,8 @@ export default { ...mapState(['hosMenuData','slidermenu','customize','showSidebar', 'showFooter', 'showHeader']) // 从Vuex映射showSidebar状态到组件的计算属性中 }, mounted() { + this.user = localStorage.getItem('nick') + window.addEventListener('beforeunload', this.clearStorage); }, beforeUnmount() { diff --git a/src/components/Header.vue b/src/components/Header.vue index 370da11..5d54338 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -3,33 +3,84 @@ -
- - +
{{ item.name }}
+ - 黄金糕 - 狮子头 - 螺蛳粉 - 双皮奶 - 蚵仔煎 + +
退出
-
--> + +
+ \ No newline at end of file diff --git a/src/views/login.vue b/src/views/login.vue index bda36a9..2a6ba68 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -12,7 +12,6 @@ 登录即代表同意 《用户协议》《隐私条款》

若无账号,请先联系客服注册

-
@@ -119,7 +118,7 @@ export default { a { text-decoration: none; color: #006AFF; - cursor: pointer; + cursor: pointer; } } } diff --git a/src/views/paymentMethod.vue b/src/views/paymentMethod.vue index 226a48b..da95e1d 100644 --- a/src/views/paymentMethod.vue +++ b/src/views/paymentMethod.vue @@ -108,7 +108,6 @@ export default { list: { deep: true, handler(newVal) { - console.log(newVal,'newVal====='); this.payList = [...newVal]; this.tableLoading = false; } @@ -126,8 +125,6 @@ export default { this.departId =depart_id; this.doctorId =doctor_id; } - console.log(this.doctor_id,'=doctor_id==='); - }, mounted() { if(this.doctor_id){