dfish-widget 1.0.88 → 1.0.90
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 +5 -4
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -2
package/lib/index.esm.js
CHANGED
|
@@ -10603,10 +10603,11 @@ const suffixHooks = {
|
|
|
10603
10603
|
this.trigger('change', v);
|
|
10604
10604
|
},
|
|
10605
10605
|
clickItem(e, item) {
|
|
10606
|
-
if (!item.value
|
|
10607
|
-
if (
|
|
10608
|
-
|
|
10609
|
-
|
|
10606
|
+
if (!item.value) return
|
|
10607
|
+
if (this.getOn('click:item')) {
|
|
10608
|
+
e.runType = 'click:item';
|
|
10609
|
+
this.trigger(e, item.value, this.val());
|
|
10610
|
+
} else if (this.x.downloadSrc) {
|
|
10610
10611
|
$$1.download($$1.urlServer(this.x.downloadSrc, item.value, this.x.data));
|
|
10611
10612
|
}
|
|
10612
10613
|
},
|