Просмотр исходного кода

[ 花店前端 ] 增加订单详情的跳转

wangn 5 лет назад
Родитель
Сommit
a9abdafe33

+ 1 - 1
hdApp/src/admin/billing/result.vue

@@ -121,7 +121,7 @@ export default {
 			})
 		},
     gotoDetail() {
-      
+      this.pageTo({url:`/admin/order/detail?id=${this.option.orderId}`, type: 2})
     },
 		getCategoryList(){
 			categoryListB().then(res => {

+ 1 - 1
hdApp/src/components/module/app-order-list.vue

@@ -36,7 +36,7 @@ export default {
 	computed: {
 		imgUrl() {
 			if (this.$util.isEmpty(this.info)) return ''
-			return this.info.smallCoverUrl ? this.info.smallCoverUrl : this.info.smallImgList[0]
+			return this.info.smallCoverUrl ? this.info.smallCoverUrl : ''
 		}
 	},
 	mounted() {

+ 1 - 0
hdApp/src/mixins/list.js

@@ -50,6 +50,7 @@ export default {
       } else {
         ++this.list.page
       }
+      console.log(this.list)
     },
   },
 }