|
@@ -505,7 +505,10 @@ export default {
|
|
|
let id = res.data.id
|
|
let id = res.data.id
|
|
|
this.ghsId = id
|
|
this.ghsId = id
|
|
|
this.buyNotice = res.data.buyNotice
|
|
this.buyNotice = res.data.buyNotice
|
|
|
- this.isHd = Number(res.data.isHd)
|
|
|
|
|
|
|
+ //只有注册了才判断他是不是花店身份
|
|
|
|
|
+ if(Number(id)>0){
|
|
|
|
|
+ this.isHd = Number(res.data.isHd)
|
|
|
|
|
+ }
|
|
|
if(this.buyNotice == 1){
|
|
if(this.buyNotice == 1){
|
|
|
this.myClass = 'fadeIn'
|
|
this.myClass = 'fadeIn'
|
|
|
}
|
|
}
|
|
@@ -533,7 +536,10 @@ export default {
|
|
|
this.ghsInfo = res.data
|
|
this.ghsInfo = res.data
|
|
|
this.shopId = res.data.shopId
|
|
this.shopId = res.data.shopId
|
|
|
this.buyNotice = res.data.buyNotice
|
|
this.buyNotice = res.data.buyNotice
|
|
|
- this.isHd = Number(res.data.isHd)
|
|
|
|
|
|
|
+ //只有注册了才判断他是不是花店身份
|
|
|
|
|
+ if(this.option.id && Number(this.option.id)>0){
|
|
|
|
|
+ this.isHd = Number(res.data.isHd)
|
|
|
|
|
+ }
|
|
|
if(this.buyNotice == 1){
|
|
if(this.buyNotice == 1){
|
|
|
this.myClass = 'fadeIn'
|
|
this.myClass = 'fadeIn'
|
|
|
}
|
|
}
|