Commit 95c07887 authored by liyadong's avatar liyadong

update

parent c5d5d4fc
...@@ -69,11 +69,8 @@ card.handleGetServer = function (receive){ ...@@ -69,11 +69,8 @@ card.handleGetServer = function (receive){
// 获取角色列表 // 获取角色列表
card.handleGetRoleList = function (params){ card.handleGetRoleList = function (params){
this.ajax({ $.get('/',{},function (val) {
url:'/config/game_servers', var serverList = val;
type:'GET',
},function (val) {
var serverList = val
this.ajax({ this.ajax({
url:'/get_role_list', url:'/get_role_list',
type:'POST', type:'POST',
...@@ -110,8 +107,6 @@ card.handleGetRoleList = function (params){ ...@@ -110,8 +107,6 @@ card.handleGetRoleList = function (params){
$('.loading').hide(); $('.loading').hide();
$('.dialog-server').fadeIn(); $('.dialog-server').fadeIn();
}) })
},function () {
}) })
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<link rel="stylesheet" href="{{ asset('postcard/css/style.css?v=20211125') }}"> <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/jquery.2.1.3.min.js') }}"></script>
<script src="{{ asset('js/toast.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> </head>
<body> <body>
<div class="container home-container"> <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