配置内容

This commit is contained in:
2023-10-23 11:30:21 +08:00
parent e1c5fc6883
commit 97f7c129fe

View File

@@ -1,8 +1,8 @@
import * as types from '../types'
import { getStore, setStore } from '@config/utils.js'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://43.139.166.161:8018' : 'http://43.139.166.161:8018'
const setTime = '5000'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://43.139.166.161:8018' : 'http://localhost:8018'
const setTime = '3000'
const state = {
baseUrl: getStore('baseUrl') || baseUrl,
setTime: getStore('setTime') || setTime,