This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
wanglu
/
shuyuanweb
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
修复trim报错
master
王饶冀
1 year ago
parent
8d87ae64d6
commit
a96576a102
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/views/pc/apply/apply.js
+ 1
- 1
src/views/pc/apply/apply.js
View 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…
Cancel
Save