|
@@ -284,12 +284,8 @@ export default {
|
|
|
addR.unBuyClick();
|
|
|
if (this.pageData.strategyInfo.unsubscribeStrategyList !== null && this.pageData.strategyInfo.unsubscribeStrategyList.length > 0) {
|
|
|
if (this.pageData.channl.edition && this.pageData.channl.edition === 1) {
|
|
|
- let productId = await strategytemplate({
|
|
|
- id: this.pageData.strategyInfo.unsubscribeStrategyList[0],
|
|
|
- });
|
|
|
- let drainageRes = await detMainProduct({
|
|
|
- productId: productId.data.primaryProductId,
|
|
|
- });
|
|
|
+ let productId = await strategytemplate( this.pageData.strategyInfo.unsubscribeStrategyList[0]);
|
|
|
+ let drainageRes = await detMainProduct({productId: productId.data.primaryProductId});
|
|
|
this.unBuyDrainageText = drainageRes.data.productName;
|
|
|
} else {
|
|
|
let productId = await strategyGetID({
|