hurx hai 9 horas
pai
achega
ef6df03e6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/enterprise/messageNotice/addNotice.vue

+ 1 - 1
src/views/enterprise/messageNotice/addNotice.vue

@@ -84,7 +84,7 @@ const handleSave = async () => {
     };
 
     if (isEdit.value) {
-      data.id = Number(route.query.id);
+      data.id = route.query.id;
       await updateMessage(data);
       ElMessage.success('修改成功');
     } else {