|
@@ -161,14 +161,13 @@ var productList = new Vue({
|
|
|
this.tinyTypeID = getUrlParam('tinyTypeID');
|
|
|
console.log( this.smallTypeID)
|
|
|
console.log( this.tinyTypeID)
|
|
|
- if (this.bigTypeID){
|
|
|
- this.params.id=this.bigTypeID;
|
|
|
- }else if( this.smallTypeID){
|
|
|
+ if (this.tinyTypeID==null){
|
|
|
this.params.id=this.smallTypeID;
|
|
|
+ }else if( this.smallTypeID==null){
|
|
|
+ this.params.id=this.bigTypeID;
|
|
|
}else {
|
|
|
this.params.id=this.tinyTypeID;
|
|
|
}
|
|
|
- this.params.id=this.bigTypeID;
|
|
|
var typeSort = getUrlParam('typeSort');
|
|
|
PublicApi.GetProductClassify({typeSort:typeSort,source:'www'},function (res) {
|
|
|
if (res.code==0){
|