huangbin 4 gadi atpakaļ
vecāks
revīzija
b8739aaf36
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/views/report/components/filter/index.vue

+ 2 - 0
src/views/report/components/filter/index.vue

@@ -60,6 +60,8 @@ export default defineComponent({
         const userList = ref<SelectOption[]>([]);
         const { queryTable } = handlerManagerList(loading, 2);
         initData(() => {
+            // 处理刷新
+            selectedUser.value.key = getUserId();
             queryTable().then((res) => {
                 userList.value.length = 0;
                 userList.value.push({ value: getUserId(), lable: getUserName() });