Explorar o código

web: update rules

Xwite %!s(int64=3) %!d(string=hai) anos
pai
achega
c9f1a3f4e7
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      modules/web/src/config/bookSourceEditConfig.js

+ 14 - 0
modules/web/src/config/bookSourceEditConfig.js

@@ -365,6 +365,13 @@ export default {
         type: "String",
         hint: "选择章节链接 (规则结果为String类型的Url)",
       },
+      {
+        title: "标题处理",
+        namespace: "ruleToc",
+        id: "formatJs",
+        type: "String",
+        hint: "直接填写js, 提供index和tittle变量",
+      },
       {
         title: "卷名标识",
         namespace: "ruleToc",
@@ -419,6 +426,13 @@ export default {
         type: "String",
         hint: "选择正文内容 (规则结果为String)",
       },
+      {
+        title: "标题规则",
+        namespace: "ruleContent",
+        id: "title",
+        type: "String",
+        hint: "获取结果将会覆盖章节标题 (规则结果为String)",
+      },
       {
         title: "翻页规则",
         namespace: "ruleContent",