shish 2 лет назад
Родитель
Сommit
5c7ed57018
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      ghsApp/src/pagesPurchase/info.vue

+ 3 - 2
ghsApp/src/pagesPurchase/info.vue

@@ -329,7 +329,8 @@ export default {
 			orderSn:'',
 			salt:'',
 			showSeat:1,
-			title:''		};
+			title:''
+		};
 	},
 	onPullDownRefresh() {
 		this.initCgData().then(res => {
@@ -581,7 +582,7 @@ export default {
 			if(that.option.orderSn){
 				that.orderSn = that.option.orderSn
 				that.salt = that.option.salt
-				if((this.getLoginInfo && !this.$util.isEmpty(this.getLoginInfo.admin)) || this.$util.isEmpty(that.salt)){
+				if((this.getLoginInfo && !this.$util.isEmpty(this.getLoginInfo.admin)) && this.$util.isEmpty(that.salt)){
 
 					const { data } = await getPurchaseDetailApi(that.option.orderSn);
 					that.detailInfo = data;