@@ -198,23 +198,10 @@ Modify global theme color by css variable. Css variable depends on the design, i
198198 <a-pagination show-quick-jumper :default-current =" 2" :total =" 500" />
199199
200200 <!-- Steps -->
201- <a-steps :current =" 1" :percent =" 60" >
202- <a-step title =" Finished" description =" This is a description." />
203- <a-step
204- title =" In Progress"
205- sub-title =" Left 00:00:08"
206- description =" This is a description."
207- />
208- <a-step title =" Waiting" description =" This is a description." />
209- </a-steps >
201+ <a-steps :current =" 1" :percent =" 60" :items =" stepsItems" ></a-steps >
210202
211203 <!-- Steps - dot -->
212- <a-steps :current =" 2" status =" error" progress-dot >
213- <a-step title =" Finished" description =" You can hover on the dot." />
214- <a-step title =" In Progress" description =" You can hover on the dot." />
215- <a-step title =" Error" description =" You can hover on the dot." />
216- <a-step title =" Waiting" description =" You can hover on the dot." />
217- </a-steps >
204+ <a-steps :current =" 2" status =" error" progress-dot :items =" stepsItems2" ></a-steps >
218205
219206 <!-- Form - Input -->
220207 <a-form >
@@ -568,6 +555,34 @@ export default defineComponent({
568555 colorState ,
569556 inputProps ,
570557 selectedKeys: ref ([' mail' ]),
558+ stepsItems: [
559+ {
560+ title: ' Finished' ,
561+ description: ' This is a description.' ,
562+ },
563+ {
564+ title: ' In Progress' ,
565+ description: ' This is a description.' ,
566+ },
567+ {
568+ title: ' Waiting' ,
569+ description: ' This is a description.' ,
570+ },
571+ ],
572+ stepsItems2: [
573+ {
574+ title: ' Finished' ,
575+ description: ' You can hover on the dot.' ,
576+ },
577+ {
578+ title: ' In Progress' ,
579+ description: ' You can hover on the dot.' ,
580+ },
581+ {
582+ title: ' Waiting' ,
583+ description: ' You can hover on the dot.' ,
584+ },
585+ ],
571586 };
572587 },
573588});
0 commit comments