手机端修改加载慢问题
This commit is contained in:
@@ -807,9 +807,9 @@
|
||||
<script src="/js/bootstrap-select.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
app.game();
|
||||
});
|
||||
// $(function () {
|
||||
// app.game();
|
||||
// });
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
@@ -1001,6 +1001,10 @@
|
||||
that.game_list = res.data;
|
||||
}
|
||||
});
|
||||
|
||||
this.$nextTick(() => {
|
||||
$('#gameselect').selectpicker('refresh'); // 重新渲染下拉框
|
||||
});
|
||||
this.select_game()
|
||||
},
|
||||
line() {
|
||||
|
||||
Reference in New Issue
Block a user