From 52d5c30bfc752af90bd61f6de044c92cd871972e Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 26 Oct 2020 10:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=8F=8D=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 10 ++++++++++ src/views/mine/Aboutus.vue | 14 +++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) 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 @@