flat: 暂存

This commit is contained in:
Apcallover
2024-03-09 15:59:45 +08:00
parent a1a5a00480
commit 102e69567b
3 changed files with 24 additions and 4 deletions

View File

@@ -61,6 +61,7 @@ const user = {
sendTimes:getStore({//用户发送短信次数
name:'setUserSendTimes'
}) || 0,
seeEnterprise: 0, // 0 个人招工 企业招工
},
actions: {
//用户点击radio按钮
@@ -179,6 +180,9 @@ const user = {
},
},
mutations: {
setEnterprise(state, val) { // 0 个人招工 企业招工
state.seeEnterprise = val;
},
SET_TOKEN: (state, token) => {
state.token = token;
setStore({