dfish-widget 1.0.95 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.esm.js +2 -1
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -10619,6 +10619,7 @@ const suffixHooks = {
|
|
|
10619
10619
|
this.x.success && this.x.success(item.value, this, res);
|
|
10620
10620
|
}
|
|
10621
10621
|
if (item.error && item.error.message) $$1.alert(item.error.message);
|
|
10622
|
+
this.nextUpload();
|
|
10622
10623
|
}).catch(error => {
|
|
10623
10624
|
item.error = error;
|
|
10624
10625
|
item.loading = false;
|
|
@@ -10692,7 +10693,7 @@ const suffixHooks = {
|
|
|
10692
10693
|
return h('div', {
|
|
10693
10694
|
key,
|
|
10694
10695
|
class: ['w-fileupload-value', {
|
|
10695
|
-
'z-loading': item.loading,
|
|
10696
|
+
'z-loading': item.loading || (item.file && !item.value),
|
|
10696
10697
|
'z-err': item.error
|
|
10697
10698
|
}],
|
|
10698
10699
|
style: {
|