浏览代码

测试优化

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 =>{