Selaa lähdekoodia

修复trim报错

master
王饶冀 1 vuosi sitten
vanhempi
commit
a96576a102
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/views/pc/apply/apply.js

+ 1
- 1
src/views/pc/apply/apply.js Näytä tiedosto

@@ -64,7 +64,7 @@ export function apply() {
toast("请输入联系电话!", "error");
return;
}
if (!text.trim() && currentTb.value == 0) {
if (currentTb.value == 0 && (text == "" || (text && !text.trim())) ) {
toast("请输入需求内容!", "error");
return;
}

Loading…
Peruuta
Tallenna