添加loading可选size判断
This commit is contained in:
parent
d5a53f8eae
commit
73cd5c1f4b
|
@ -81,6 +81,10 @@ export class StarLoading extends StarBaseElement {
|
|||
this
|
||||
}
|
||||
|
||||
if (opts.size) {
|
||||
this.size = opts.size
|
||||
}
|
||||
|
||||
this.canCancel = !!opts.canCancel
|
||||
this.cancelCallback = opts.cancelCallback
|
||||
this.observeStatus(opts)
|
||||
|
|
Loading…
Reference in New Issue