Commit 92079c6b authored by 李明环(东信)'s avatar 李明环(东信)
parents d5b47d7d a76af8e1
......@@ -34,9 +34,7 @@
placeholderW
safeAreaInsetBottom
>
<wd-button :round="false" class="foot-btn" :disabled="params.questionDesc == '' || params.imagesPath == ''"
>投诉建议</wd-button
>
<wd-button :round="false" class="foot-btn" :disabled="params.questionDesc == ''">投诉建议</wd-button>
</wd-tabbar>
</view>
</template>
......@@ -93,9 +91,14 @@ const chooseImage = () => {
};
const feedbackAddFn = () => {
xma.showLoading();
if (params.questionDesc == "" || params.imagesPath == "") {
if (params.questionDesc == "") {
xma.showToast({
title: "请填写问题描述",
icon: "none"
});
return;
} else {
xma.showLoading();
feedbackAdd(params).then(res => {
if (res.code == 200) {
xma.hideLoading();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment