From 5ea5afae70f186c3da9f72f67e4b765b31f874da Mon Sep 17 00:00:00 2001 From: j <13580441+gary02@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:00:10 +0800 Subject: [PATCH] feat(spam-detection): update step value and feature copy --- src/components/FeatureList/SetFeatureValue.tsx | 2 +- src/components/FeatureList/text.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/FeatureList/SetFeatureValue.tsx b/src/components/FeatureList/SetFeatureValue.tsx index fec10e98..0c19bf6e 100644 --- a/src/components/FeatureList/SetFeatureValue.tsx +++ b/src/components/FeatureList/SetFeatureValue.tsx @@ -63,7 +63,7 @@ class SetFeatureValue extends React.Component< value={value || 1} min={0} max={1} - step={0.01} + step={0.001} type="number" size="small" style={{ margin: '4px', verticalAlign: 'middle' }} diff --git a/src/components/FeatureList/text.ts b/src/components/FeatureList/text.ts index f4097d46..d7743940 100644 --- a/src/components/FeatureList/text.ts +++ b/src/components/FeatureList/text.ts @@ -20,5 +20,6 @@ export const explanationMap = { tag_adoption: '用戶可以認領無人主理的標籤', circle_management: '用戶可以使用圍爐搭建、管理功能', circle_interact: '用戶可以於圍爐追蹤、訂閱、發布眾聊等', - spam_detection: '垃圾文將不會出現在各文章列表中', + spam_detection: + '垃圾文將不會出現在各文章列表中。文章垃圾文概率大於右邊值將自動判定為垃圾文, 可通過標記幹預文章是否為垃圾文。', }