flx:修改时间展示

This commit is contained in:
X_Rian 2024-06-26 11:37:06 +08:00
parent e10fdf0c07
commit 0c3bd21467
2 changed files with 6 additions and 4 deletions

View File

@ -8,14 +8,14 @@
// 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"
// 生产环境
// 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" // 鞍钢线上测试环境
//是否已显示未登录弹窗
let showNoLoginTip = false

View File

@ -50,9 +50,11 @@
return props.modelValue
},
set(val) {
if (props.formProps.format === 'yyyy-mm-dd hh:mm') {
val = val.substring(0, 16) + ':00'
console.log(11111111, props.formProps.format == 'yyyy-MM-dd HH:mm', val)
if (props.formProps.format == 'yyyy-MM-dd HH:mm') {
val = val.substring(0, 16)
}
console.log(val)
emits('update:modelValue', val)
}
})