Commit 95c07887 authored by liyadong's avatar liyadong

update

parent c5d5d4fc
......@@ -69,11 +69,8 @@ card.handleGetServer = function (receive){
// 获取角色列表
card.handleGetRoleList = function (params){
this.ajax({
url:'/config/game_servers',
type:'GET',
},function (val) {
var serverList = val
$.get('/',{},function (val) {
var serverList = val;
this.ajax({
url:'/get_role_list',
type:'POST',
......@@ -110,8 +107,6 @@ card.handleGetRoleList = function (params){
$('.loading').hide();
$('.dialog-server').fadeIn();
})
},function () {
})
}
......
......@@ -22,7 +22,7 @@
<link rel="stylesheet" href="{{ asset('postcard/css/style.css?v=20211125') }}">
<script src="{{ asset('js/jquery.2.1.3.min.js') }}"></script>
<script src="{{ asset('js/toast.js') }}"></script>
<script src="{{ asset('postcard/js/main.js?v=20211125') }}"></script>
<script src="{{ asset('postcard/js/main.js?v=2021112501') }}"></script>
</head>
<body>
<div class="container home-container">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment