Explorar o código

修改标签bug

ZZJ %!s(int64=3) %!d(string=hai) anos
pai
achega
775dc948c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/system/jbdScan/goods/sampleTag.vue

+ 1 - 1
src/views/system/jbdScan/goods/sampleTag.vue

@@ -168,7 +168,7 @@ export default {
             while(xmbhIndex <jcxm.length){
               yp.forEach((item,index)=>{
                 let count = item.jian_ce_xiang_mu_.split(',').length + xmbhIndex
-                for(;xmbhIndex<count;xmbhIndex++){
+                for(;xmbhIndex<count && xmbhIndex < jcxm.length;xmbhIndex++){
                     let x = {
                     yang_pin_ming_che : item.yang_pin_ming_che,
                     yang_pin_bian_hao : item.yang_pin_bian_hao,