mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	vue3:修改 detail 的权限校验
This commit is contained in:
		@@ -24,7 +24,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:error-code:update']"
 | 
			
		||||
          v-hasPermi="['system:error-code:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:notice:update']"
 | 
			
		||||
          v-hasPermi="['system:notice:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:oauth2-client:update']"
 | 
			
		||||
          v-hasPermi="['system:oauth2-client:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:post:update']"
 | 
			
		||||
          v-hasPermi="['system:post:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:role:update']"
 | 
			
		||||
          v-hasPermi="['system:role:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <XTextButton
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:sms-channel:update']"
 | 
			
		||||
          v-hasPermi="['system:sms-channel:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@
 | 
			
		||||
        <XTextButton
 | 
			
		||||
          preIcon="ep:view"
 | 
			
		||||
          :title="t('action.detail')"
 | 
			
		||||
          v-hasPermi="['system:sms-template:update']"
 | 
			
		||||
          v-hasPermi="['system:sms-template:query']"
 | 
			
		||||
          @click="handleDetail(row.id)"
 | 
			
		||||
        />
 | 
			
		||||
        <!-- 操作:删除 -->
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user