wangyang hace 5 años
padre
commit
1ac30a37d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/food/nutrient.vue

+ 1 - 1
src/views/food/nutrient.vue

@@ -153,7 +153,7 @@ export default {
     removeNutrient(row) {
       removeFoodNutrient(row.foodId, row.nutrientId).then(res => {
         this.fetchData()
-        this.$message.success('删除营养素成功')
+        this.$notify.success('删除营养素成功')
         this.$refs.nutrientSelect.focus()
       }).catch(res => {
         this.$message.error(res.data.message)