Explorar el Código

feat: 新增动态加载的级联组件

lanjianrong hace 5 años
padre
commit
5352144c0d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/models/district.js

+ 1 - 1
src/models/district.js

@@ -42,7 +42,7 @@ export default {
 
               const newSecondItem = secondItem
               if (secondItem.id === pid) {
-                newItem.loading = false
+                newSecondItem.loading = false
                 newSecondItem.children = action.payload.data
               }
               return newSecondItem