diff --git a/src/UI/Components/BBS/BBSCommon.tsx b/src/UI/Components/BBS/BBSCommon.tsx index d863d3009..01f14048a 100644 --- a/src/UI/Components/BBS/BBSCommon.tsx +++ b/src/UI/Components/BBS/BBSCommon.tsx @@ -259,7 +259,6 @@ interface IBBSSealingComponentProps option: IBoardInfoOptions; ModifyDataRecord: (index: number, brData: Board, modifyKey: string, value: string | LinesType | ProcessingGroupRecord[]) => void; index: number; - } @@ -601,42 +600,50 @@ export class BBSProcessGroupItem extends React.Component React.CSSProperties; +} @observer -export class BBSRemarksComponent extends React.Component +export class BBSRemarksComponent extends React.Component { render() { const { board, option, index, click } = this.props; - return ( <> { option.remarks.length === 0 ? -
+
{ click("remarks"); }} />
: - - { - option.remarks.map((d, i) =>
  • {d[0]} : {d[1]}
  • ) +
    + + { + option.remarks.map((d, i) =>
  • {d[0]} : {d[1]}
  • ) + } + } - } - position={Position.RIGHT} - intent={Intent.PRIMARY} - > - s += `${r[0]}:${r[1]} `, "")} - onClick={() => { click("remarks"); }} - /> -
    + position={Position.RIGHT} + intent={Intent.PRIMARY} + > + s += `${r[0]}:${r[1]} `, "")} + readOnly={true} + onClick={() => { click("remarks"); }} + /> + +
    } ); diff --git a/src/UI/Components/BBS/BoardInfosList.tsx b/src/UI/Components/BBS/BoardInfosList.tsx index 2b4c78830..ca40dccc0 100644 --- a/src/UI/Components/BBS/BoardInfosList.tsx +++ b/src/UI/Components/BBS/BoardInfosList.tsx @@ -236,6 +236,7 @@ export class BoardInfoList extends React.Component click={this.HandleOnClick} board={dataBr} option={this.option} + getCalcStyles={this.props.getCalcStyles} ModifyDataRecord={ModifyDataRecord} index={index} />; diff --git a/src/UI/Store/BBSEditorStore.ts b/src/UI/Store/BBSEditorStore.ts index 0924f2d8d..d4d9c9a26 100644 --- a/src/UI/Store/BBSEditorStore.ts +++ b/src/UI/Store/BBSEditorStore.ts @@ -23,7 +23,7 @@ export class BBSEditorStore implements IConfigStore { @observable configName = "默认"; @observable configsNames = []; - noResize = [6, 7, 8, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]; //用于字段列宽度调整,但是有一些特殊框就不做调整了 + noResize = [6, 7, 8, 19, 20, 22, 23, 24, 25, 26, 27, 28]; //用于字段列宽度调整,但是有一些特殊框就不做调整了 @observable tabbarIndexs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20]; InitOption() {