bill 8 ماه پیش
والد
کامیت
35e0f2167f
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      src/api/path.ts
  2. 1 1
      src/store/path.ts

+ 2 - 2
src/api/path.ts

@@ -45,8 +45,8 @@ const localToService = (path: Path): ServerPath => ({
 
 export const fetchPaths = async () => {
   const paths: Paths = [
-    createPath({ name: "路径1" }),
-    createPath({ name: "路径3" }),
+    // createPath({ name: "路径1" }),
+    // createPath({ name: "路径3" }),
   ];
 
   return paths;

+ 1 - 1
src/store/path.ts

@@ -47,7 +47,7 @@ export const createPath = (path: Partial<Path> = {}): Path => {
     reverseDirection: false,
     lineWidth: 0.6,
     name: '',
-    fontSize: 1,
+    fontSize: 12,
     showDirection: false,
     showName: true,
     visibilityRange: 30,