From 139d1461615f301b22401dfb6c7a0948b54d56af Mon Sep 17 00:00:00 2001
From: 13404089107 <puwei@sinata.cn>
Date: 星期一, 02 六月 2025 18:50:23 +0800
Subject: [PATCH] fix

---
 culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue b/culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue
index 4ef6c49..322c012 100644
--- a/culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue
+++ b/culture/src/views/strainReportLibrary/reportLibraryOneThree/index.vue
@@ -123,7 +123,7 @@
             },
             tableData: [],
             showDelConfirm: false,
-            roleType: JSON.parse(sessionStorage.getItem('userInfo')).roleType,
+            roleType: Number(JSON.parse(sessionStorage.getItem('userInfo')).roleType || 0),
             rowId: '',
             changeStatus: false,
             showApproval: false,

--
Gitblit v1.7.1