Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-shops-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
weiqingting
2016-04-06 19:59:34 +0800
Commit
3a1717ca97e39b75b214b44cc43d1e0e80fe3484
1 parent
4be42189
商品端bug修改
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
client/js/index.js
server/stub/config/login.js
client/js/index.js
View file @
3a1717c
...
...
@@ -51,3 +51,7 @@ $('.shops_id').click(function(){
}
})
});
/*过滤特殊字符*/
$
(
document
).
on
(
"keyup"
,
":text"
,
function
(){
$
(
this
).
val
(
$
(
this
).
val
().
replace
(
/
\W
/g
,
''
))
})
\ No newline at end of file
...
...
server/stub/config/login.js
View file @
3a1717c
...
...
@@ -24,7 +24,6 @@ module.exports = {
};
});
}
//调用老系统的切换店铺的接口
authService
.
change
(
shopId
,
cookie
,
function
(
err
,
data
)
{
if
(
err
)
{
...
...
Please
register
or
login
to post a comment