修复产品购买页有时候加载缓慢问题
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user