Showing
3 changed files
with
4 additions
and
3 deletions
... | ... | @@ -10,8 +10,9 @@ VITE_PUBLIC_PATH = / |
10 | 10 | # 本地 |
11 | 11 | # VITE_PROXY = [["/api","http://192.168.10.113:8080/api"]] |
12 | 12 | |
13 | -# 线上 | |
13 | +# 线上演示环境 | |
14 | 14 | # VITE_PROXY = [["/api","http://101.133.234.90:8080/api"]] |
15 | +# 线上测试环境 | |
15 | 16 | VITE_PROXY = [["/api","http://47.99.141.212:8080/api"]] |
16 | 17 | |
17 | 18 | # 实时数据的ws地址 | ... | ... |
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | const lockStore = useLockStore(); |
46 | 46 | |
47 | 47 | const getRealName = computed(() => userStore.getUserInfo?.realName); |
48 | - console.log(getRealName); | |
48 | + | |
49 | 49 | const [register, { closeModal }] = useModalInner(); |
50 | 50 | |
51 | 51 | const [registerForm, { validateFields, resetFields }] = useForm({ | ... | ... |
... | ... | @@ -136,7 +136,7 @@ |
136 | 136 | async onConnected() { |
137 | 137 | if (isAdmin(props.role)) return; |
138 | 138 | const res = await getEntitiesId(); |
139 | - entityId = res.data[0].entityId; | |
139 | + entityId = res.data[0]?.entityId; | |
140 | 140 | const sendValue = JSON.stringify({ |
141 | 141 | entityDataCmds: [ |
142 | 142 | { | ... | ... |