mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
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)
|
|
} |