diff --git a/src/api/tag/tag.js b/src/api/tag/tag.js new file mode 100644 index 0000000..9e85abe --- /dev/null +++ b/src/api/tag/tag.js @@ -0,0 +1,11 @@ +import http from "@/utils/http"; + +export const getTagList =(tagName)=>{ + return http({ + url:"/tag/getTags", + method:"get", + data:{ + tagName:tagName + }, + }) +} \ No newline at end of file diff --git a/src/components/TypeSelect.vue b/src/components/TypeSelect.vue index 9230142..8ac6c8b 100644 --- a/src/components/TypeSelect.vue +++ b/src/components/TypeSelect.vue @@ -2,31 +2,28 @@
- {{ word }} + {{ word.name }}