瀏覽代碼

[Boutique] Commander > Produits : correctif scroll

feature/rotating_product
Guillaume Bourgeois 7 月之前
父節點
當前提交
dfada47141
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      producer/web/js/vuejs/order-order.js

+ 5
- 2
producer/web/js/vuejs/order-order.js 查看文件

@@ -691,7 +691,7 @@ var app = new Vue({
return count ;
},
setCategoryCurrent: function(category, first) {
var idScroll = 'products';
var idScroll = false;
if(this.categoryCurrent && this.categoryCurrent.id == category.id && !first) {
this.categoryCurrent = null ;
}
@@ -705,7 +705,10 @@ var app = new Vue({
setTimeout(function() {
opendistrib_products();
}, 500);
setTimeout(opendistrib_scroll, 250, idScroll);
if(idScroll) {
setTimeout(opendistrib_scroll, 250, idScroll);
}
}
},
computed : {

Loading…
取消
儲存