no message
This commit is contained in:
@@ -34,6 +34,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
_config () {
|
||||
if (this.setTime <= 3) {
|
||||
this.$message({
|
||||
message: '刷新时间设置过短',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (this.setTime > 10800) {
|
||||
this.$message({
|
||||
message: '刷新时间设置过长',
|
||||
@@ -113,7 +120,7 @@ export default {
|
||||
border-radius 3px
|
||||
margin-top 5px
|
||||
.btn
|
||||
background-color #2778f3
|
||||
background-color #0182f7
|
||||
border-radius 3px
|
||||
margin-top 5px
|
||||
height 40px
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import * as types from '../types'
|
||||
import { getStore, setStore } from '@js/mUtils.js'
|
||||
|
||||
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.8.221:8011' : 'http://192.168.8.221:8011'
|
||||
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.10.52:8018' : 'http://192.168.10.52:8018'
|
||||
/**
|
||||
* App通用配置
|
||||
*/
|
||||
const state = {
|
||||
baseUrl: getStore('baseUrl') || baseUrl,
|
||||
setTime: getStore('setTime') || 180000
|
||||
setTime: getStore('setTime') || 5000
|
||||
}
|
||||
|
||||
const actions = {
|
||||
|
||||
Reference in New Issue
Block a user