修复 投影机下发错误

This commit is contained in:
shefengchun 2023-02-24 16:04:13 +08:00
parent 5ce15fcb80
commit 5998be5c1c
1 changed files with 3 additions and 0 deletions

View File

@ -333,6 +333,9 @@ export default defineComponent({
onMounted(() => { onMounted(() => {
Proportion.value.x = allconfig.projector_width / (div.value.offsetWidth - point.value.w) Proportion.value.x = allconfig.projector_width / (div.value.offsetWidth - point.value.w)
Proportion.value.y = allconfig.projector_height / (div.value.offsetHeight - point.value.h) Proportion.value.y = allconfig.projector_height / (div.value.offsetHeight - point.value.h)
set?.GetBlendingConfig("").then((res) => {
allconfig=JSON.parse(res?.config??"")
})
start_point() start_point()
start() start()
use_server_config() use_server_config()