修复产品购买页有时候加载缓慢问题
This commit is contained in:
@@ -1176,9 +1176,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: {
|
||||||
@@ -1372,6 +1372,9 @@
|
|||||||
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