ludc
2024-11-15 2a225d84f5a14caddb853d3c07b26907d1cb1428
Source/plt-web/plt-web-ui/src/components/actions/base/uploadFileAction.js
@@ -11,13 +11,13 @@
export const doAction = (options,callback) => {
  options.sourceData = options.sourceData || {};
  options.dataStore = options.dataStore || [];
  if (func.isEmptyObject(options.sourceData)) {
  if (!options.dataStore || options.dataStore.length < 1) {
    Vue.prototype.$message.error("请选择要上传的分类!");
    return false;
  }
  callPreEvent(options, doBefore, function (options) {
    showStartWindow(options, function () {
      callPostEvent(options, doAfter, callback,type);
      callPostEvent(options, doAfter, callback,'uploadfile');
    });
  });
};