gemercheung hai 1 ano
pai
achega
3b33f659c0

+ 5 - 1
src/locales/lang/json/ja.json

@@ -636,5 +636,9 @@
     "layout.map.sceneSource.4": "4DKK_Mega Obj",
     "layout.map.sceneSource.4": "4DKK_Mega Obj",
     "layout.map.sceneSource.5": "4DKK_Mega",
     "layout.map.sceneSource.5": "4DKK_Mega",
     "layout.map.remove": "削除",
     "layout.map.remove": "削除",
-    "layout.map.createName": "作成者"
+    "layout.map.createName": "作成者",
+    "layout.map.geoLocation.opt2": "シーンリストから選択",
+    "layout.map.keywords": "キーワード",
+    "layout.map.geoLocation": "ポジション",
+    "layout.map.geoLocation.opt1": "ポジションを設置"
 }
 }

+ 3 - 2
src/locales/lang/json/zh-CN.json

@@ -639,5 +639,6 @@
     "layout.map.keywords": "关键字",
     "layout.map.keywords": "关键字",
     "layout.map.geoLocation": "地理位置",
     "layout.map.geoLocation": "地理位置",
     "layout.map.geoLocation.opt1": "设置地理位置",
     "layout.map.geoLocation.opt1": "设置地理位置",
-    "layout.map.geoLocation.opt2": "从场景列表选择"
-}
+    "layout.map.geoLocation.opt2": "从场景列表选择",
+    "layout.map.searchEmptyProjectTip": "当前项目暂没场景"
+}

+ 1 - 2
src/views/map/index.vue

@@ -302,13 +302,12 @@
         setDefaultCenter();
         setDefaultCenter();
         createMessage.open({
         createMessage.open({
           type: 'warning',
           type: 'warning',
-          content: '当前项目暂没场景',
+          content: t('layout.map.searchEmptyProjectTip'),
           style: {
           style: {
             marginTop: '10vh',
             marginTop: '10vh',
           },
           },
         });
         });
         setTimeout(createMessage.destroy, 2000);
         setTimeout(createMessage.destroy, 2000);
-        // createMessage.warning('当前项目暂没场景');
       }
       }
 
 
       // setCenter(Number(lat), Number(lng));
       // setCenter(Number(lat), Number(lng));