Переглянути джерело

feat: add 1.7.1 calcStatus

gemercheung 1 рік тому
батько
коміт
51a65cedf8

+ 1 - 1
packages/qjkankan-view/src/locales/en.json

@@ -31,7 +31,7 @@
         "passwordError": "Password incorrect",
         "phone": "Tel",
         "workDelete": "The project has been deleted!",
-        "calcing": "场景计算中,请稍后访问"
+        "calcing": "The scene is being calculated, please visit later"
     },
     "menu": {
         "autoRotate": "Auto-play",

+ 6 - 3
packages/qjkankan-view/src/pages/show.vue

@@ -74,9 +74,12 @@ onMounted(async () => {
   config.projectNum = id
 
   if (calcStatus === 0) {
-    Dialog.alert(
-        t('common.calcing')
-      );
+
+    Dialog.alert({
+      title: t("common.tips"),
+      content: t('common.calcing'),
+      okText: t("common.confirm"),
+    });
     return
   }
 

+ 5 - 3
packages/qjkankan-view/src/pages/showMobile.vue

@@ -93,9 +93,11 @@ onMounted(async () => {
   config.projectNum = id
 
   if (calcStatus === 0) {
-    Dialog.alert(
-      t('common.calcing')
-    );
+    Dialog.alert({
+      title: t("common.tips"),
+      content: t('common.calcing'),
+      okText: t("common.confirm"),
+    });
     return
   }