Bläddra i källkod

update notification box

fengchang 1 år sedan
förälder
incheckning
545441a0df
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      hichina-main-front/src/views/blog/edit.vue

+ 2 - 2
hichina-main-front/src/views/blog/edit.vue

@@ -121,7 +121,7 @@ function updateBlog() {
       ElNotification({
         title: "Succeed",
         message: "Succeed updating blogs",
-        type: "Succeed",
+        type: "success",
       });
     })
     .catch((err) => {
@@ -129,7 +129,7 @@ function updateBlog() {
       ElNotification({
         title: "Error",
         message: "Failed updating blogs",
-        type: "Error",
+        type: "error",
       });
     });
 }