ip
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
return
|
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({
|
uni.redirectTo({
|
||||||
url: '/pages/login/login'
|
url: '/pages/login/login'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import * as types from '../types'
|
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 = {
|
const state = {
|
||||||
baseUrl: uni.getStorageSync('baseUrl') || baseUrl,
|
baseUrl: uni.getStorageSync('baseUrl') || baseUrl,
|
||||||
setTime: uni.getStorageSync('setTime') || 5000,
|
setTime: uni.getStorageSync('setTime') || 5000,
|
||||||
|
|||||||
Reference in New Issue
Block a user