There is js-form-ajax component in thinkcmf, which allows the form to be processed asynchronously. Now that I have integrated the layer plug-in, I need to close the child layer and refresh the parent layer after the form is successfully submitted in the pop-up box. How to achieve?
There is js-form-ajax component in thinkcmf, which allows the form to be processed asynchronously. Now that I have integrated the layer plug-in, I need to close the child layer and refresh the parent layer after the form is successfully submitted in the pop-up box. How to achieve?
Although I have not used the js-form-ajax component, what I can think of is that it must have a time-monitoring method that can be called. After monitoring that the form is submitted successfully, simulate clicking to close the sub-layer and then refresh it. .