소스 검색

修改消息提示框

zhangxc 5 년 전
부모
커밋
b2e3c2d2b8
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      src/components/icss/AddMedicinePrompt.vue

+ 4 - 5
src/components/icss/AddMedicinePrompt.vue

@@ -418,7 +418,9 @@
       },
       beforeRemove(file, fileList) {
         if(this.showConfirm ){
-           return this.$confirm(`确定移除 ${ file.name }?`);
+           return this.$confirm(`确定移除 ${ file.name }?`,'',{
+             cancelButtonClass:"cacelBtn"
+            });
         }
        
       }
@@ -458,11 +460,8 @@
     .NoiseTemplateWrapper .el-select .el-input .el-icon-circle-close{
         display: inherit!important;
     }
-    .el-button--default{
+    .cacelBtn{
       color: #22ccc8!important;
     }
-    .el-button--primary{
-      color: #ffffff!important;
-    }
 </style>