layui + strust2 multiple file uploads

  • About layui + strust2 file upload, action without changing the parameters

     

  • No matter how many files you upload, when you break when you hit the upload interface will forever enter once

     

  • ! ! ! However, if you uploaded three files, log output will total execution three times

    So we can see, before you upload two files, is performed automatically, the execution time is the same, but debug interfaces can only enter once

    •  
  • So, I want to get through the callback function these file paths brothers, can only do so

    +++++++++++++++++++++++++++++++ +++++++++++++++++++

     

     

     You can see, I uploaded three files, did not write any loop , but whether or js interface will always output three times , I have too much food, do not know why, but with enough energy to get the desired

     

Guess you like

Origin www.cnblogs.com/HuangJie-sol/p/11210070.html