Browse Source

Merge branch 'dev-1.1.0' of https://172.16.32.165/hurugang/thmz_system into dev-1.1.0

hurugang 4 years ago
parent
commit
70af95c8d0

+ 1 - 0
src/main/resources/static/js/role_manage.js

@@ -157,6 +157,7 @@ function saveRole() {
         dataType: "json",
         headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
         data: data,
+        async: false,
         success: function (res) {
             if (res == '401' || res == 401) {
                 window.location.href = '/thmz/login/view'

+ 0 - 1
src/main/resources/static/js/user_manage.js

@@ -134,7 +134,6 @@ function getAllUser() {
     $('#tb_table').bootstrapTable({
         url: '/thmz/getUserPage',         //请求后台的URL(*)
         method: 'post',                      //请求方式(*)
-        async: false,
         toolbar: '#toolbar',                //工具按钮用哪个容器
         striped: true,                      //是否显示行间隔色
         cache: false,                       //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)