fix: bug#11270

This commit is contained in:
xieyonghong 2023-03-31 21:58:09 +08:00
parent 6a05668cb5
commit 077ad8abe8
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ const changeType = (val: SelectValue) => {
_value.value.fileType = _value.value.fileType || 'url' _value.value.fileType = _value.value.fileType || 'url'
} }
if (['date'].includes(val as string)) { if (['date'].includes(val as string)) {
_value.value.format = _value.value.format || 'yyyy-MM-DD HH:mm:ss' _value.value.format = _value.value.format || 'yyyy-MM-dd HH:mm:ss'
} }
emit('changeType', val as string) emit('changeType', val as string)
} }

View File

@ -169,7 +169,7 @@ const handleOk = () => {
if (resp.status === 200) { if (resp.status === 200) {
if (resp.result === '失败') { if (resp.result === '失败') {
message.error('缴费失败') message.error('缴费失败')
} else if(resp.result) { } else if(!resp.result) {
onlyMessage('操作过于频繁,请稍后再试!', 'warning') onlyMessage('操作过于频繁,请稍后再试!', 'warning')
} else { } else {
window.open(resp.result); window.open(resp.result);