ソースを参照

修复trim报错

master
王饶冀 1年前
コミット
a96576a102
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      src/views/pc/apply/apply.js

+ 1
- 1
src/views/pc/apply/apply.js ファイルの表示

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

読み込み中…
キャンセル
保存