Filereader - upload same file again not working

后端 未结 4 569
灰色年华
灰色年华 2020-12-03 10:02

I have sth like drawing app. User can save projects and then load them. When I load first time one file (for e.g. project1.leds) make some changes in the app but no saving i

4条回答
  •  星月不相逢
    2020-12-03 10:54

    Try the below code, It should work. While clicking the upload button clear the existing value.

    $("#menu-open-file").click(function(e){ 
      $('#menu-open-file').val(''); 
    }
    

提交回复
热议问题