请问这段js代码什么意思?麻烦讲得详细些,谢谢!

2025-04-05 21:52:42
推荐回答(2个)
回答1:

"network_filter_page" : {
"regex" : "^\/filter\/([^\/]*)\/([a-zA-Z0-9._-]+)$",
"result" : ' Projects.Data.network_filter="$1"; \
Projects.Data.purl="$2"; \
Projects.Data.user_url=$("#url").val(); \
Projects.Data.network_url=$("#url").val();',
"conditional" : '$("#nuid").length > 0 && $("#follow_sort").length <= 0',
"action" : "Projects.LoadProject();"
就是对network_filter_page进行过滤初始化

回答2:

初始化 一个network_filter_page 吧