lifanagju_citu 11 месяцев назад
Родитель
Сommit
471bf29775
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/recruit/position/components/cityFilter.vue

+ 1 - 1
src/views/recruit/position/components/cityFilter.vue

@@ -21,7 +21,7 @@ const checkedInputChange = (idChecked) => {
   if (idChecked?.length) {
   if (idChecked?.length) {
     idChecked.forEach((_e, index) => {
     idChecked.forEach((_e, index) => {
       if (_e?.length) {
       if (_e?.length) {
-        city += `${index ? '__' : ''}${_e.join('_')}` // CL: city-level
+        city += `${index ? '__' : ''}${_e.join('_')}` // 双下划线区分层级单下划线为该层级的区域是数组_分隔
       }
       }
     })
     })
     emits('change', 'city', city)
     emits('change', 'city', city)