fix: bug#11191
This commit is contained in:
parent
d3ea02c0f6
commit
9b7b78fe33
|
@ -215,9 +215,20 @@ defineExpose({
|
|||
resolve(data)
|
||||
})
|
||||
})
|
||||
|
||||
Object.assign(formModel, props.value)
|
||||
formModel.when = props.value.when || []
|
||||
|
||||
watchEffect(() => {
|
||||
if(props.value?.period.unit === 'hours') {
|
||||
unitMax.
|
||||
value = 99999
|
||||
} else {
|
||||
unitMax.value = 99
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang='less'>
|
||||
|
|
Loading…
Reference in New Issue