lejianwen месяцев назад: 9
Родитель
Сommit
357f34e0e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/user/composables/edit.js

+ 1 - 1
src/views/user/composables/edit.js

@@ -15,7 +15,7 @@ export function useGetDetail (id) {
15 15
     form.value = { ...res.data }
16 16
   }
17 17
   if (id > 0) {
18
-    onMounted(getDetail(id))
18
+    onMounted(_ => {getDetail(id)})
19 19
   }
20 20
 
21 21
   const getGroups = async () => {