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