Browse Source

H5:点单详情附加展示

panyong 3 years ago
parent
commit
da82bbd264
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htmldev/dashboard/src/views/orderDetail/index.vue

+ 1 - 1
htmldev/dashboard/src/views/orderDetail/index.vue

@@ -10,7 +10,7 @@
           <img :src="item.product_img_url" alt="">
           <div class="item-right">
             <p><span>{{item.product_name}}</span><span>¥{{item.product_unit_price | fen2Yuan}}</span></p>
-            <p><span>{{item.product_attach.replace(',', '+')}}</span><span>*{{item.product_num}}</span></p>
+            <p><span>{{item.product_attach.replace(/,/g, '+')}}</span><span>*{{item.product_num}}</span></p>
           </div>
         </li>
       </ul>