diff --git a/src/api/index.ts b/src/api/index.ts index ac67141..f5245b4 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -933,4 +933,14 @@ export async function getlivest() { } else { return false; } +} + +export async function feedback(text: string) { + const res = await post("feedback",{desc:text}) + // todo 返回参数错误 + if(res.code == 0){ + message.success(res.msg) + }else{ + message.error(res.msg) + } } \ No newline at end of file diff --git a/src/views/mine/Aboutus.vue b/src/views/mine/Aboutus.vue index 232ec36..eba4811 100644 --- a/src/views/mine/Aboutus.vue +++ b/src/views/mine/Aboutus.vue @@ -33,11 +33,11 @@
意见反馈
- +
-
提交反馈
+
提交反馈
@@ -46,6 +46,7 @@