Explorar o código

订单数据节点传参编码

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

+ 2 - 2
src/views/order/orderList.vue

@@ -310,8 +310,8 @@ export default {
     //单条同步
     synchronizationOne(){
       this.$nextTick(() => {
-        var param = encodeURI(encodeURI(this.dingDan))
-        oneSyncy({parameter:param}).then(res => {
+        var parameter = this.dingDan
+        oneSyncy({parameter}).then(res => {
           if (res.success) {
             this.getOrderList();
             this.$message.success(res.message)