mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-28 11:06:00 +08:00
feat(ui): web移动端初始化
This commit is contained in:
11
new-ui/projects/web/src/store/chat.js
Normal file
11
new-ui/projects/web/src/store/chat.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Storage from 'good-storage'
|
||||
|
||||
const CHAT_CONFIG_KEY = process.env.VUE_APP_KEY_PREFIX + "chat_config"
|
||||
|
||||
export function getChatConfig() {
|
||||
return Storage.get(CHAT_CONFIG_KEY)
|
||||
}
|
||||
|
||||
export function setChatConfig(chatConfig) {
|
||||
Storage.set(CHAT_CONFIG_KEY, chatConfig)
|
||||
}
|
||||
Reference in New Issue
Block a user