Browse Source

测试优化

zhengjinyi 4 years ago
parent
commit
cfba387887
1 changed files with 1 additions and 1 deletions
  1. 1 1
      seller/pages/order/order-details.vue

+ 1 - 1
seller/pages/order/order-details.vue

@@ -199,7 +199,7 @@
 					this.returnedPurchaseFee = resData.order.returnedPurchaseFee
 					this.returnedPurchaseFee = resData.order.returnedPurchaseFee
 					this.ableUserMoney = resData.ableUserMoney
 					this.ableUserMoney = resData.ableUserMoney
 					this.clauseData = resData.clause
 					this.clauseData = resData.clause
-					if(this.clauseData.name.length>10){
+					if(this.clauseData && this.clauseData.name.length>10){
 						this.clauseData.name = clauseData.name.substr(0,10)+'...'
 						this.clauseData.name = clauseData.name.substr(0,10)+'...'
 					}
 					}
 				}).catch(error =>{
 				}).catch(error =>{