소스 검색

撤回按钮标红

hubin 1 년 전
부모
커밋
e0fd4e46f1
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/views/approve/components/approvedContent.vue

+ 5 - 1
src/views/approve/components/approvedContent.vue

@@ -108,7 +108,11 @@
 							@click="openComment('consentOrRefuseVisible', 'reject')"
 							>拒绝</el-button
 						>
-						<el-button v-if="currentTaskType === 'myApplication' && allowRevocation" :icon="Close" @click="openComment('reviewVisible', 'revoke')"
+						<el-button
+							v-if="currentTaskType === 'myApplication' && allowRevocation"
+							:icon="Close"
+							type="danger"
+							@click="openComment('reviewVisible', 'revoke')"
 							>撤回</el-button
 						>
 						<el-button v-if="currentTaskType === 'pendingClaim'" :icon="Close" @click="claimTaskEv">认领</el-button>