bug修改

This commit is contained in:
simple321vip
2022-04-30 01:34:51 +08:00
parent 868ebfee3a
commit 91ee8a9577
7 changed files with 174 additions and 110 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<script setup lang="ts">
import { reactive, ref } from 'vue';
import { get_blogs, getContent, newBlog, updateContent, deleteContent } from '../../api/blog'
import { get_blogs, getContent, putBlog, updateContent, deleteContent } from '../../api/blog'
import router from '../../router/index'
type Blog = {
bid: string,
@@ -62,7 +62,7 @@ const test1 = () => {
blog_type_id: "2808000",
title: "dddddddd"
}
newBlog(params).then(response => {
putBlog(params).then(response => {
console.log(response)
})
}