ソースを参照

修改消息提示框

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>