Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
wanglu
/
shuyuanweb
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
修复trim报错
master
王饶冀
1 ano atrás
pai
8d87ae64d6
commit
a96576a102
1 arquivos alterados
com
1 adições
e
1 exclusões
Visão dividida
Mostrar estatísticas do Diff
1
1
src/views/pc/apply/apply.js
+ 1
- 1
src/views/pc/apply/apply.js
Ver arquivo
@@ -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;
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar