From dca74c76b85c5ece7b87beae9d9f921883b55564 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期四, 07 五月 2020 14:45:39 +0800 Subject: [PATCH] 调整cookies --- src/components/finance/actualPayment.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/finance/actualPayment.vue b/src/components/finance/actualPayment.vue index 4d476ea..cdc480e 100644 --- a/src/components/finance/actualPayment.vue +++ b/src/components/finance/actualPayment.vue @@ -125,8 +125,11 @@ }, mounted() { //缁勪欢閰嶇疆鍚庯紝椤甸潰鏄剧ず鍓嶃�傜敤浜庡姞杞芥暟鎹� this.getData(); - this.userId = localStorage.getItem('userId'); - this.assign = localStorage.getItem('assign'); + //this.userId = localStorage.getItem('userId'); + //this.assign = localStorage.getItem('assign'); + + this.userId = this.$cookies.get('userId'); + this.assign = this.$cookies.get('assign'); }, methods: { Cancel2() { -- Gitblit v1.8.0