Commit 9c7e4ce7 authored by youjie's avatar youjie

no message

parent f35ea094
...@@ -269,7 +269,11 @@ export default defineComponent({ ...@@ -269,7 +269,11 @@ export default defineComponent({
methods.setInjectHandler() methods.setInjectHandler()
} }
onMounted(()=>{ onMounted(()=>{
data.onlyNum = data.hotelInfor.RemainingInventory if(data.hotelInfor.RemainingInventory){
data.onlyNum = data.hotelInfor.RemainingInventory
}else{
data.onlyNum = editor.value.RemainingInventory
}
}) })
return { ...toRefs(data), ...methods,editor } return { ...toRefs(data), ...methods,editor }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment