优化
This commit is contained in:
1 parent
bdcee61a3a
commit
2e7fa31574
1 file changed
+2
-2
@@ -283,8 +283,8 @@ class AnalyzeUrl(
|
|||||||
return it.title
|
return it.title
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return chapter?.getVariable(key)
|
return chapter?.getVariable(key)?.takeIf { it.isNotEmpty() }
|
||||||
?: ruleData?.getVariable(key)
|
?: ruleData?.getVariable(key)?.takeIf { it.isNotEmpty() }
|
||||||
?: ""
|
?: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user