Ver código fonte

add setting.layout.commentary.label

visuddhinanda 4 meses atrás
pai
commit
413e4e9aaa

+ 20 - 0
dashboard-v4/dashboard/src/components/auth/setting/default.ts

@@ -75,6 +75,26 @@ export const defaultSetting: ISetting[] = [
     ],
     ],
     widget: "radio-button",
     widget: "radio-button",
   },
   },
+  {
+    /**
+     * commentary排版方向
+     */
+    key: "setting.layout.commentary",
+    label: "setting.layout.commentary.label",
+    description: "setting.layout.direction.description",
+    defaultValue: "column",
+    options: [
+      {
+        value: "column",
+        label: "setting.layout.direction.col.label",
+      },
+      {
+        value: "row",
+        label: "setting.layout.direction.row.label",
+      },
+    ],
+    widget: "radio-button",
+  },
   {
   {
     /**
     /**
      * 段落或者逐句对读
      * 段落或者逐句对读