|
@@ -208,7 +208,12 @@ export class Scope {
|
|
|
*/
|
|
|
setLoading(value: boolean) {
|
|
|
const scope = this
|
|
|
- scope._handle?.setLoading(value)
|
|
|
+ if (value) {
|
|
|
+ scope?._handle?.setMasked({xtype: 'loadmask', message: '请稍等...'});
|
|
|
+ } else {
|
|
|
+ scope?._handle?.unmask();
|
|
|
+ }
|
|
|
+ // scope._handle?.setLoading(value)
|
|
|
}
|
|
|
|
|
|
/**
|