wangting
2024-04-25 007418e0f113375285647b517b204f3f00daa07b
Source/ProjectWeb/src/actions/base/BaseAction.js
@@ -13,8 +13,7 @@
  if(button.url && button.url!='null'){
    //有配置action路径,使用路径对应的js
    let buttonParse = parseEventByUrl(button.url,options,false);
    import("../"+buttonParse.jsPath+".js").then(module => {
    import("../"+button.url+".js").then(module => {
      module.doAction(options);
    })
  }else {
@@ -38,8 +37,8 @@
    if(validatenull(options.paramVOS.context)) {
      options.paramVOS.context = options.paramVOS.content;
    }
    if(handlers[button.actionVO.id]){
      handlers[button.actionVO.id]()
    if(handlers[button.actionVO.id.toLowerCase()]){
      handlers[button.actionVO.id.toLowerCase()]()
    }else{
      Vue.prototype.$message.error('未找到对应action,请重新配置按钮!');
    }