|
@@ -93,8 +93,10 @@ export interface IWidgetSentEditInner {
|
|
|
simNum?: number;
|
|
simNum?: number;
|
|
|
compact?: boolean;
|
|
compact?: boolean;
|
|
|
mode?: ArticleMode;
|
|
mode?: ArticleMode;
|
|
|
- wbwProgress?: boolean;
|
|
|
|
|
|
|
+ showWbwProgress?: boolean;
|
|
|
readonly?: boolean;
|
|
readonly?: boolean;
|
|
|
|
|
+ wbwProgress?: number;
|
|
|
|
|
+ wbwScore?: number;
|
|
|
}
|
|
}
|
|
|
export const SentEditInner = ({
|
|
export const SentEditInner = ({
|
|
|
id,
|
|
id,
|
|
@@ -115,7 +117,7 @@ export const SentEditInner = ({
|
|
|
simNum,
|
|
simNum,
|
|
|
compact = false,
|
|
compact = false,
|
|
|
mode,
|
|
mode,
|
|
|
- wbwProgress = false,
|
|
|
|
|
|
|
+ showWbwProgress = false,
|
|
|
readonly = false,
|
|
readonly = false,
|
|
|
}: IWidgetSentEditInner) => {
|
|
}: IWidgetSentEditInner) => {
|
|
|
const [wbwData, setWbwData] = useState<IWbw[]>();
|
|
const [wbwData, setWbwData] = useState<IWbw[]>();
|
|
@@ -192,7 +194,7 @@ export const SentEditInner = ({
|
|
|
magicDict={magicDict}
|
|
magicDict={magicDict}
|
|
|
compact={isCompact}
|
|
compact={isCompact}
|
|
|
mode={articleMode}
|
|
mode={articleMode}
|
|
|
- wbwProgress={wbwProgress}
|
|
|
|
|
|
|
+ wbwProgress={showWbwProgress}
|
|
|
readonly={readonly}
|
|
readonly={readonly}
|
|
|
onWbwChange={(data: IWbw[]) => {
|
|
onWbwChange={(data: IWbw[]) => {
|
|
|
setWbwData(data);
|
|
setWbwData(data);
|