ywana-core8 0.0.350 → 0.0.351

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/dist/index.umd.js CHANGED
@@ -3320,7 +3320,11 @@
3320
3320
  eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3321
3321
 
3322
3322
  function close() {
3323
- site.closeDialog();
3323
+ if (className === "prompt") {
3324
+ site.closePromptDialog();
3325
+ } else {
3326
+ site.closeDialog();
3327
+ }
3324
3328
  }
3325
3329
 
3326
3330
  function prevent(e) {