Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
wanglu
/
shuyuanweb
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
修复trim报错
master
王饶冀
1 anno fa
parent
8d87ae64d6
commit
a96576a102
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Mostra Diff Stats
1
1
src/views/pc/apply/apply.js
+ 1
- 1
src/views/pc/apply/apply.js
Vedi File
@@ -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;
}
Write
Preview
Loading…
Annulla
Salva