forked from kidgrow-microservices-platform

zhaoxiaohao
2020-06-19 04c359a40d51c391fdfea626e7f147422a33b89f
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html
@@ -81,7 +81,14 @@
                { field: 'enabled', width: 100, sort: true, templet: '#user-tpl-state', title: '状态' },
                { fixed: 'right', align: 'center', toolbar: '#user-table-bar', title: '操作', width: 300 }
            ]],
            done:function(){
            done:function(res){
                if(res.code==401){
                    config.removeToken();
                    layer.msg('登录过期', {icon: 2, time: 1500}, function () {
                        location.replace('/login.html');
                    }, 1000);
                    return;
                }
                permissionsInput();
            }
        });