|
@ -251,7 +251,7 @@ Vue.prototype.gotoWebUrl = url => { |
|
|
Vue.prototype.gotoDetailByType = item => { |
|
|
Vue.prototype.gotoDetailByType = item => { |
|
|
let url = '' |
|
|
let url = '' |
|
|
if(item.is_package) { |
|
|
if(item.is_package) { |
|
|
url = '/subPackages/food/detail?id=' + item.product_id |
|
|
url = '/subPackages/food/detail?id=' + (item.product_id || item.id) |
|
|
|
|
|
|
|
|
Vue.prototype.gotoPath(url) |
|
|
Vue.prototype.gotoPath(url) |
|
|
return; |
|
|
return; |
|
|