widget.qw 1.0.87 → 1.0.88
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/build/widget.qw.es.js
CHANGED
|
@@ -22417,6 +22417,10 @@ const _sfc_main$2 = {
|
|
|
22417
22417
|
onMounted(() => {
|
|
22418
22418
|
});
|
|
22419
22419
|
const onSelect = (node) => {
|
|
22420
|
+
if (!node) {
|
|
22421
|
+
emit("select", null);
|
|
22422
|
+
return;
|
|
22423
|
+
}
|
|
22420
22424
|
if (!props.multiple) {
|
|
22421
22425
|
data2.selectedNodes = [node];
|
|
22422
22426
|
emit("select", data2.selectedNodes[0]);
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -22420,6 +22420,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22420
22420
|
vue.onMounted(() => {
|
|
22421
22421
|
});
|
|
22422
22422
|
const onSelect = (node) => {
|
|
22423
|
+
if (!node) {
|
|
22424
|
+
emit("select", null);
|
|
22425
|
+
return;
|
|
22426
|
+
}
|
|
22423
22427
|
if (!props.multiple) {
|
|
22424
22428
|
data2.selectedNodes = [node];
|
|
22425
22429
|
emit("select", data2.selectedNodes[0]);
|
package/package.json
CHANGED
|
Binary file
|