riku
2025-11-27 63d9a9c62fd34f4b48a157e0bc57dd82ee09a197
src/composables/messageBox.js
@@ -15,7 +15,7 @@
      let msg = `已${doneMsg}`
      if (typeof onConfirm === 'function') {
        const str = await onConfirm();
        if (str && str != '') {
        if (typeof str === 'string' && str != '') {
          msg = `已${doneMsg}, ${str}`
        }
      }
@@ -24,7 +24,7 @@
        message: msg,
        type: 'success',
        // offset: 170,
        position: 'bottom-left',
        position: 'top-right',
      });
    })
    .catch((err) => {
@@ -34,7 +34,7 @@
      }
      ElMessage({
        message: errStr,
        type: 'warning',
        type: 'error',
      });
    });
}