修复产品购买页有时候加载缓慢问题

This commit is contained in:
“wanyongkang”
2025-05-28 15:11:09 +08:00
parent 2f291d5f01
commit 5531880561

View File

@@ -1176,9 +1176,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: {
@@ -1372,6 +1372,9 @@
that.game_list = res.data;
}
});
this.$nextTick(() => {
$('#gameselect').selectpicker('refresh'); // 重新渲染下拉框
});
this.select_game()
},
line() {