mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-12 21:46:06 +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) => {
|
||||
if (props.step === 0) {
|
||||
return (
|
||||
<Button type="primary" onClick={async () => {
|
||||
<Button type="default" onClick={async () => {
|
||||
if (knowledgeSpaceName === '') {
|
||||
props.onSubmit?.()
|
||||
} else {
|
||||
@ -86,7 +86,7 @@ const Index = () => {
|
||||
);
|
||||
} else if (props.step === 1) {
|
||||
return (
|
||||
<Button type="primary" onClick={() => props.onSubmit?.()}>
|
||||
<Button type="default" onClick={() => props.onSubmit?.()}>
|
||||
Web Page {'>'}
|
||||
</Button>
|
||||
);
|
||||
@ -97,7 +97,7 @@ const Index = () => {
|
||||
Previous {'<'}
|
||||
</Button>,
|
||||
<Button
|
||||
type="primary"
|
||||
type="default"
|
||||
key="goToTree"
|
||||
onClick={async () => {
|
||||
props.onSubmit?.();
|
||||
|
Loading…
Reference in New Issue
Block a user