bill 2 ماه پیش
والد
کامیت
28815e51c8
3فایلهای تغییر یافته به همراه15 افزوده شده و 15 حذف شده
  1. 6 6
      src/lang/locales/zh.json
  2. 6 6
      src/views/setting/select-back.vue
  3. 3 3
      vite.config.ts

+ 6 - 6
src/lang/locales/zh.json

@@ -165,12 +165,12 @@
     "name1": "名称",
     "name1tip": "标题不能为空",
     "back": "设置天空",
-    "backs[0]": "无",
-    "backs[1]": "地图",
-    "backs[2]": "蓝天白云",
-    "backs[3]": "乌云密布",
-    "backs[4]": "夜空",
-    "backs[5]": "傍晚",
+    "backs0": "无",
+    "backs1": "地图",
+    "backs2": "蓝天白云",
+    "backs3": "乌云密布",
+    "backs4": "夜空",
+    "backs5": "傍晚",
     "initView": "初始画面",
     "name": "设置"
   },

+ 6 - 6
src/views/setting/select-back.vue

@@ -67,38 +67,38 @@ defineEmits<{
 
 const backs = computed(() => [
   {
-    label: ui18n.t("setting.backs.0"),
+    label: ui18n.t("setting.backs0"),
     type: "icon",
     image: "icon-without",
     value: "none",
   },
   {
-    label: ui18n.t("setting.backs.1"),
+    label: ui18n.t("setting.backs1"),
     type: "map",
     image: params.laserRoot + "/profile/fusion/default/images/map.png",
     value: "dt",
     children: sysTiles.value.map((t) => ({ label: t.name, value: t.id })),
   },
   {
-    label: ui18n.t("setting.backs.2"),
+    label: ui18n.t("setting.backs2"),
     type: "img",
     image: params.laserRoot + "/profile/fusion/default/images/pic_ltby@2x.png",
     value: "/profile/fusion/default/images/蓝天白云.jpg",
   },
   {
-    label: ui18n.t("setting.backs.3"),
+    label: ui18n.t("setting.backs3"),
     type: "img",
     image: params.laserRoot + "/profile/fusion/default/images/pic_wymb@2x.png",
     value: "/profile/fusion/default/images/乌云密布.jpg",
   },
   {
-    label: ui18n.t("setting.backs.4"),
+    label: ui18n.t("setting.backs4"),
     type: "img",
     image: params.laserRoot + "/profile/fusion/default/images/pic_yk@2x.png",
     value: "/profile/fusion/default/images/夜空.jpg",
   },
   {
-    label: ui18n.t("setting.backs.5"),
+    label: ui18n.t("setting.backs5"),
     type: "img",
     image: params.laserRoot + "/profile/fusion/default/images/pic_bw@2x.png",
     value: "/profile/fusion/default/images/傍晚.jpg",

+ 3 - 3
vite.config.ts

@@ -6,8 +6,8 @@ import { resolve } from "path";
 
 // const offline = `http://192.168.0.13:8080/`
 
-const oss = `http://192.168.0.125:1804/`;
-const ip = `http://192.168.0.125:1804/`;
+const oss = `http://192.168.9.165:9008/`;
+const ip = `http://192.168.9.165:9008/`;
 const langProt = 7700;
 const proxy = {
   "/dev": {
@@ -27,7 +27,7 @@ const proxy = {
     rewriteWsOrigin: true,
   },
   "/local": {
-    target: "http://192.168.0.38:8808",
+    target: "http://192.168.9.165:9008/",
     changeOrigin: true,
     rewrite: (path) => path.replace(/^\/local/, ""),
   },