소스 검색

测试优化

zhengjinyi 4 년 전
부모
커밋
cfba387887
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.ableUserMoney = resData.ableUserMoney
 					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)+'...'
 					}
 				}).catch(error =>{