فهرست منبع

bug: userId值改变未赋值

lifanagju_citu 2 ماه پیش
والد
کامیت
862b592f1a

+ 1 - 0
src/views/menduner/system/person/details/components/attachment.vue

@@ -59,6 +59,7 @@ const getList = async () => {
 
 watch(() => props.userId, (newVal) => {
   if (newVal) {
+    queryParams.userId = newVal
     getList()
   }
 }, { immediate: true }, { deep: true })

+ 1 - 0
src/views/menduner/system/person/details/components/expExtend.vue

@@ -88,6 +88,7 @@ const getExpList = async () => {
 
 watch(() => props.userId, (newVal) => {
   if (newVal) {
+    queryParams.userId = newVal
     getExpList()
   }
 }, { immediate: true }, { deep: true })