|
|
@@ -904,13 +904,16 @@ function handleGoodsInfo() {
|
|
|
// ["SHARE", "分享"],
|
|
|
// ["RESELL", "转售"],
|
|
|
// ];
|
|
|
- buttons[0].disable = 0;
|
|
|
- buttons[0].key = 'SALE';
|
|
|
- buttons[1] = {
|
|
|
- disable: 0,
|
|
|
- key: 'GIVE',
|
|
|
- };
|
|
|
- authorInfo.nickName = `${authorInfo.nickName}#改`;
|
|
|
+ let frtBtnKey = buttons[0]?.key;
|
|
|
+ if (frtBtnKey == void 0 || frtBtnKey == 'NONE') {
|
|
|
+ buttons[0].disable = 0;
|
|
|
+ buttons[0].key = 'SALE';
|
|
|
+ buttons[1] = {
|
|
|
+ disable: 0,
|
|
|
+ key: 'GIVE',
|
|
|
+ };
|
|
|
+ authorInfo.nickName = `${authorInfo.nickName}#改`;
|
|
|
+ }
|
|
|
}
|
|
|
gRetBody = rspData;
|
|
|
}
|