shish 2 years ago
parent
commit
76acf0177f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ghs/src/mixins/product2.js

+ 3 - 3
ghs/src/mixins/product2.js

@@ -174,10 +174,10 @@ export default {
 		},
 		removeFromSave(){
 			let that = this
-			that.$util.confirmModal({content:'确认清除花材?'},() => {
+			this.$confirm('确认清除花材?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
 				that.removeFromSaveDirect()
-				that.$message({message: '已清除'})
-            })
+				that.$message({message: '已清除',type:'success'})
+			})
 		},
 		removeFromSaveDirect(){
 			let that = this