From 9f9d68cf40f1d7470bfb49220266b26663cbb722 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 23 十一月 2019 14:55:11 +0800
Subject: [PATCH] 2019-11-23-01

---
 src/store/action.js |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/store/action.js b/src/store/action.js
index 01456d0..0453b80 100644
--- a/src/store/action.js
+++ b/src/store/action.js
@@ -64,13 +64,15 @@
 
 // 閲嶇疆缂栬緫绾у埆
 export const resetEditLevel = (editLevel) => {
-  // if (editLevel) {
-  //   document.getElementById('root').style.overflow = 'hidden'
-  // } else {
-  //   document.getElementById('root').style.overflow = 'visible'
-  // }
   return {
     type: user.RESET_EDITLEVEL,
     editLevel
   }
+}
+
+// 閫�鍑洪噸缃�
+export const logout = () => {
+  return {
+    type: user.LOGOUT
+  }
 }
\ No newline at end of file

--
Gitblit v1.8.0