调整vue前端:切换为8091端口;调整接口地址适应新后端;完善蚕茧仪评分析中图片可能超出全屏的情况;调整设备远程控制模块地址;
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# 端口号
|
||||
VITE_PORT=8090
|
||||
VITE_PORT=8091
|
||||
|
||||
VITE_BASE=/
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=http://localhost:8089/api
|
||||
VITE_GLOB_API_URL_PY=http://localhost:13011/api
|
||||
VITE_GLOB_API_URL=http://localhost:8089/
|
||||
VITE_GLOB_API_URL_PY=http://localhost:13011/
|
||||
|
||||
# 是否开启 Nitro Mock服务,true 为开启,false 为关闭
|
||||
VITE_NITRO_MOCK=false
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
VITE_BASE=/
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=http://s1.ronsunny.cn:8089/api
|
||||
VITE_GLOB_API_URL_PY=http://s1.ronsunny.cn:13011/api
|
||||
VITE_GLOB_API_URL=http://s1.ronsunny.cn:8090/api
|
||||
VITE_GLOB_API_URL_PY=http://s1.ronsunny.cn:8090/ai
|
||||
|
||||
# 是否开启压缩,可以设置为 none, brotli, gzip
|
||||
VITE_COMPRESS=none
|
||||
|
||||
@@ -158,10 +158,10 @@ onActivated(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex h-full w-full flex-col">
|
||||
<div class="flex h-[90dvh] w-full flex-col">
|
||||
<BaseModal />
|
||||
<CreateYSATaskModal />
|
||||
<div class="flex h-full w-full bg-gray-50">
|
||||
<div class="flex h-[90dvh] w-full bg-gray-50">
|
||||
<!-- 左侧:筛选 + 列表 -->
|
||||
<div class="flex w-64 flex-col border-r bg-white p-4">
|
||||
<!-- 按钮组 -->
|
||||
@@ -241,8 +241,8 @@ onActivated(() => {
|
||||
>
|
||||
<img
|
||||
:src="selectedItem?.image_pre"
|
||||
alt="左图"
|
||||
class="object-contain"
|
||||
alt=""
|
||||
class="h-[30dvh] w-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
<!-- 右图 -->
|
||||
@@ -251,8 +251,8 @@ onActivated(() => {
|
||||
>
|
||||
<img
|
||||
:src="selectedItem?.image_after"
|
||||
alt="右图"
|
||||
class="object-contain"
|
||||
alt=""
|
||||
class="h-[30dvh] w-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -126,7 +126,10 @@ const disconnectAll = async () => {
|
||||
</template>
|
||||
<template #default>
|
||||
<Card class="ml-2 h-full">
|
||||
<iframe src="http://s1.ronsunny.cn:8088" class="h-full w-full"></iframe>
|
||||
<iframe
|
||||
src="http://s1.ronsunny.cn:8090/remote"
|
||||
class="h-full w-full"
|
||||
></iframe>
|
||||
</Card>
|
||||
</template>
|
||||
</ColPage>
|
||||
|
||||
Reference in New Issue
Block a user