Home > Net >  The.net MVC layui after adding data refresh the list
The.net MVC layui after adding data refresh the list

Time:10-07

Figure a add button events
Figure 2 add pop-up box
Figure 3 controller add code

Question 1 add code to execute the view layer pop-up add after successful box jump back controller

Question 2 after adding (data can be added successfully), but not to refresh the list

Urgent urgent online, such as

CodePudding user response:

Success tips to put in the callback, such as the success of the server returns to perform
The refresh is the same

CodePudding user response:

Didn't see you off with the controller only increase data, there is no query,

What do you front end use,

CodePudding user response:

reference 2 floor XBodhi. Response:
didn't see you off with the controller only increase data, there is no query,

You use what the front,

Front end with layui query no put code query is ok
  • Related