Explorar o código

订单数据-提示

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
c39e5f27e0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/order/orderList.vue

+ 4 - 0
src/views/order/orderList.vue

@@ -332,9 +332,12 @@ export default {
         this.loading = true
         syncy({id}).then(res => {
           if (res.success) {
+            this.loading = false
             this.getOrderList();
             this.$message.success('同步成功')
           }else{
+            this.loading = false
+
             this.$message.error(res.message)
           }
         })
@@ -356,6 +359,7 @@ export default {
               this.getOrderList();
              this.$message.success(res.message)
              }else{
+              this.loading =false
               this.$message.error(res.message)
              }
             })