1

parent 63254235
...@@ -34,9 +34,7 @@ ...@@ -34,9 +34,7 @@
placeholderW placeholderW
safeAreaInsetBottom safeAreaInsetBottom
> >
<wd-button :round="false" class="foot-btn" :disabled="params.questionDesc == '' || params.imagesPath == ''" <wd-button :round="false" class="foot-btn" :disabled="params.questionDesc == ''">投诉建议</wd-button>
>投诉建议</wd-button
>
</wd-tabbar> </wd-tabbar>
</view> </view>
</template> </template>
...@@ -93,9 +91,14 @@ const chooseImage = () => { ...@@ -93,9 +91,14 @@ const chooseImage = () => {
}; };
const feedbackAddFn = () => { const feedbackAddFn = () => {
xma.showLoading(); if (params.questionDesc == "") {
if (params.questionDesc == "" || params.imagesPath == "") { xma.showToast({
title: "请填写问题描述",
icon: "none"
});
return;
} else { } else {
xma.showLoading();
feedbackAdd(params).then(res => { feedbackAdd(params).then(res => {
if (res.code == 200) { if (res.code == 200) {
xma.hideLoading(); 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