Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xgdlapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
xgdlapp
Commits
ba0940ce
Commit
ba0940ce
authored
Mar 29, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过滤筛选
parent
9c7a817c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
main.js
main.js
+6
-1
No files found.
main.js
View file @
ba0940ce
...
...
@@ -21,7 +21,12 @@ Vue.prototype.$config=configService;
// 正则表达式去除字符串空格
Vue
.
prototype
.
$trim
=
function
Trim
(
str
)
{
return
str
.
replace
(
/
\s
/g
,
""
)
if
(
typeof
str
===
'string'
){
return
str
.
replace
(
/
\s
/g
,
""
)
}
else
{
return
str
}
}
// request请求
import
{
http
}
from
'@/common/service/service.js'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment