gemercheung hace 2 años
padre
commit
372768a50f
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 1 1
      src/App.vue
  2. 1 0
      src/locales/lang/en/action.ts
  3. 1 0
      src/locales/lang/zh/action.ts

+ 1 - 1
src/App.vue

@@ -294,7 +294,7 @@
         const isNotEnd = dayjs(unref(room)?.useEndTime).diff(now, 'second');
         if (isNotEnd > 0) {
           console.log('存在带看有效存活', isNotEnd);
-          Dialog.toast({ content: t('action.endUpRoom'), type: 'error' });
+          Dialog.toast({ content: t('action.hostNotInRoomError'), type: 'error' });
         }
       }
       if (unref(room)?.takeLookLock === 1) {

+ 1 - 0
src/locales/lang/en/action.ts

@@ -16,4 +16,5 @@ export default {
   errorInvalidMaster: 'Inappropriate host, please check the settings !',
   earlyRoomError: 'Please wait till the reservation can be made.',
   timeOutRoomError: 'You have reached your time limit for the use of the current studio.',
+  hostNotInRoomError: '主持人不在带看房间内',
 };

+ 1 - 0
src/locales/lang/zh/action.ts

@@ -17,4 +17,5 @@ export default {
   errorInvalidMaster: '非法主持人,请检查参数!',
   earlyRoomError: '未到房间使用时间',
   timeOutRoomError: '当前房间使用期限已到',
+  hostNotInRoomError: '主持人不在带看房间内',
 };