Explorar el Código

修复trim报错

master
王饶冀 hace 1 año
padre
commit
a96576a102
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/views/pc/apply/apply.js

+ 1
- 1
src/views/pc/apply/apply.js Ver fichero

@@ -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;
}

Cargando…
Cancelar
Guardar