flx:修改时间组件

This commit is contained in:
X_Rian 2024-06-25 10:23:25 +08:00
parent 906e4bf4de
commit e10fdf0c07
2 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
//基础请求地址,需要根据自己的需求切换
// 开发环境
// export const BASE_URL = "http://42.180.188.17:9809" // 鞍钢正式环境
export const BASE_URL = "http://42.180.188.17:19098" // 鞍钢线上测试环境
// export const BASE_URL = "http://42.180.188.17:19098" // 鞍钢线上测试环境
// export const BASE_URL = "http://47.93.215.234:9809" // 鞍钢正式环境(弃用)
// export const BASE_URL = "http://47.93.215.234:19098" // 鞍钢线上测试环境(弃用)
// export const BASE_URL = "http://47.93.215.234:19097"
// export const BASE_URL = "http://jxj.zhgdyun.com:61212" // 洁远程
// export const BASE_URL = "http://182.90.224.237:35557"
// export const BASE_URL = "http://192.168.34.155:19111"
// export const BASE_URL = "http://192.168.34.221:9111"
export const BASE_URL = "http://192.168.34.221:9111"
// axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
//export const BASE_URL = "http://192.168.8.100:10000"
//export const BASE_URL = "http://106.13.16.28:10000"

View File

@ -5,7 +5,7 @@
type="datetime" :clear-icon="false" v-model="_value" ref="uniDateTime" @change="changeTime"/>
<uni-datetime-picker v-else class="w-form-input" :border="false" type="date" ref="uniDateTime"
:clear-icon="false" v-model="_value" @change="changeTime"/> -->
<uni-datetime-picker v-if="format === 'yyyy-mm-dd hh:mm'" class="w-form-input" :border="false"
<uni-datetime-picker v-if="format === 'yyyy-mm-dd hh:mm' || format === 'yyyy-mm-dd hh:mm:ss'" class="w-form-input" :border="false"
type="datetime" :clear-icon="false" v-model="_value" ref="uniDateTime" @change="changeTime"/>
<uni-datetime-picker v-else class="w-form-input" :border="false" type="date" ref="uniDateTime"
:clear-icon="false" v-model="_value" @change="changeTime"/>