mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-13 14:06:43 +00:00
feat: modify the type of the button
This commit is contained in:
parent
c71bca8255
commit
adfa718a63
@ -55,7 +55,7 @@ const Index = () => {
|
|||||||
render: (props) => {
|
render: (props) => {
|
||||||
if (props.step === 0) {
|
if (props.step === 0) {
|
||||||
return (
|
return (
|
||||||
<Button type="primary" onClick={async () => {
|
<Button type="default" onClick={async () => {
|
||||||
if (knowledgeSpaceName === '') {
|
if (knowledgeSpaceName === '') {
|
||||||
props.onSubmit?.()
|
props.onSubmit?.()
|
||||||
} else {
|
} else {
|
||||||
@ -86,7 +86,7 @@ const Index = () => {
|
|||||||
);
|
);
|
||||||
} else if (props.step === 1) {
|
} else if (props.step === 1) {
|
||||||
return (
|
return (
|
||||||
<Button type="primary" onClick={() => props.onSubmit?.()}>
|
<Button type="default" onClick={() => props.onSubmit?.()}>
|
||||||
Web Page {'>'}
|
Web Page {'>'}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
@ -97,7 +97,7 @@ const Index = () => {
|
|||||||
Previous {'<'}
|
Previous {'<'}
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="default"
|
||||||
key="goToTree"
|
key="goToTree"
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
props.onSubmit?.();
|
props.onSubmit?.();
|
||||||
|
Loading…
Reference in New Issue
Block a user