Browse Source

fix 修复 按钮权限不设置导致的问题

疯狂的狮子Li 6 months ago
parent
commit
fbe9254114
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Process/submitVerify.vue

+ 1 - 1
src/components/Process/submitVerify.vue

@@ -259,7 +259,7 @@ const openDialog = async (id?: string) => {
   const response = await getTask(taskId.value);
   task.value = response.data;
   buttonObj.value = {};
-  task.value.buttonList.forEach((e) => {
+  task.value.buttonList?.forEach((e) => {
     buttonObj.value[e.code] = e.show;
   });
   selectCopyUserList.value = task.value.copyList;