fix:bug generate article
This commit is contained in:
parent
d76b224a72
commit
b91e8d249d
|
|
@ -879,7 +879,7 @@ export default function FormAudio() {
|
||||||
{isGeneratedArticle && (
|
{isGeneratedArticle && (
|
||||||
<div className="mt-3 pb-0 flex flex-row ">
|
<div className="mt-3 pb-0 flex flex-row ">
|
||||||
{articleIds.map((id: string, index: number) => (
|
{articleIds.map((id: string, index: number) => (
|
||||||
<button
|
<p
|
||||||
key={index}
|
key={index}
|
||||||
className={`mr-3 px-3 py-2 rounded-md ${
|
className={`mr-3 px-3 py-2 rounded-md ${
|
||||||
selectedArticleId === id
|
selectedArticleId === id
|
||||||
|
|
@ -889,7 +889,7 @@ export default function FormAudio() {
|
||||||
onClick={() => handleArticleIdClick(id)}
|
onClick={() => handleArticleIdClick(id)}
|
||||||
>
|
>
|
||||||
{id}
|
{id}
|
||||||
</button>
|
</p>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -890,7 +890,7 @@ export default function FormImage() {
|
||||||
{isGeneratedArticle && (
|
{isGeneratedArticle && (
|
||||||
<div className="mt-3 pb-0 flex flex-row">
|
<div className="mt-3 pb-0 flex flex-row">
|
||||||
{articleIds.map((id: string, index: number) => (
|
{articleIds.map((id: string, index: number) => (
|
||||||
<button
|
<p
|
||||||
key={index}
|
key={index}
|
||||||
className={`mr-3 px-3 py-2 rounded-md ${
|
className={`mr-3 px-3 py-2 rounded-md ${
|
||||||
selectedArticleId === id
|
selectedArticleId === id
|
||||||
|
|
@ -900,7 +900,7 @@ export default function FormImage() {
|
||||||
onClick={() => handleArticleIdClick(id)}
|
onClick={() => handleArticleIdClick(id)}
|
||||||
>
|
>
|
||||||
{id}
|
{id}
|
||||||
</button>
|
</p>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -879,7 +879,7 @@ export default function FormTeks() {
|
||||||
{isGeneratedArticle && (
|
{isGeneratedArticle && (
|
||||||
<div className="mt-3 pb-0 flex flex-row ">
|
<div className="mt-3 pb-0 flex flex-row ">
|
||||||
{articleIds.map((id: string, index: number) => (
|
{articleIds.map((id: string, index: number) => (
|
||||||
<button
|
<p
|
||||||
key={index}
|
key={index}
|
||||||
className={`mr-3 px-3 py-2 rounded-md ${
|
className={`mr-3 px-3 py-2 rounded-md ${
|
||||||
selectedArticleId === id
|
selectedArticleId === id
|
||||||
|
|
@ -889,7 +889,7 @@ export default function FormTeks() {
|
||||||
onClick={() => handleArticleIdClick(id)}
|
onClick={() => handleArticleIdClick(id)}
|
||||||
>
|
>
|
||||||
{id}
|
{id}
|
||||||
</button>
|
</p>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -879,7 +879,7 @@ export default function FormVideo() {
|
||||||
{isGeneratedArticle && (
|
{isGeneratedArticle && (
|
||||||
<div className="mt-3 pb-0 flex flex-row ">
|
<div className="mt-3 pb-0 flex flex-row ">
|
||||||
{articleIds.map((id: string, index: number) => (
|
{articleIds.map((id: string, index: number) => (
|
||||||
<button
|
<p
|
||||||
key={index}
|
key={index}
|
||||||
className={`mr-3 px-3 py-2 rounded-md ${
|
className={`mr-3 px-3 py-2 rounded-md ${
|
||||||
selectedArticleId === id
|
selectedArticleId === id
|
||||||
|
|
@ -889,7 +889,7 @@ export default function FormVideo() {
|
||||||
onClick={() => handleArticleIdClick(id)}
|
onClick={() => handleArticleIdClick(id)}
|
||||||
>
|
>
|
||||||
{id}
|
{id}
|
||||||
</button>
|
</p>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue