fixed: 新闻编辑无法确定问题
This commit is contained in:
parent
7bf1378e90
commit
91c7563cc6
@ -144,7 +144,7 @@ export default function ArticleEditModal(props: Props) {
|
|||||||
<div className="text-lg flex gap-10 ">
|
<div className="text-lg flex gap-10 ">
|
||||||
{props.type == 'news' ? <button className="text-gray-400 hover:text-gray-800">生成视频</button> : null}
|
{props.type == 'news' ? <button className="text-gray-400 hover:text-gray-800">生成视频</button> : null}
|
||||||
<button className="text-gray-400 hover:text-gray-800" onClick={() => props.onClose?.()}>取消</button>
|
<button className="text-gray-400 hover:text-gray-800" onClick={() => props.onClose?.()}>取消</button>
|
||||||
<button className="text-gray-800 hover:text-blue-500">{props.type == 'news' ? '确定' : '重新生成'}</button>
|
<button onClick={handleSave} className="text-gray-800 hover:text-blue-500">{props.type == 'news' ? '确定' : '重新生成'}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Modal>);
|
</Modal>);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user