This commit is contained in:
2023-11-16 17:18:16 +08:00
parent 8ed064d1bd
commit dd2754d5aa
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@
return
}
// 存值
this.$store.dispatch('setConfig',{baseUrl: this.addrip, setTime: this.setTime * 1000, setPrintName: this.index})
this.$store.dispatch('setConfig',{baseUrl: this.addrip, setTime: this.setTime * 1000})
uni.redirectTo({
url: '/pages/login/login'
})

View File

@@ -1,6 +1,6 @@
import * as types from '../types'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.1.3.90:8010' : 'http://10.1.3.90:8010'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.1.3.90:8010' : 'http://192.168.46.5:8011'
const state = {
baseUrl: uni.getStorageSync('baseUrl') || baseUrl,
setTime: uni.getStorageSync('setTime') || 5000,