Merge branch 'develop' of git.dev.yoho.cn:platform/yohobuy-portal-fe into develop
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -154,7 +154,7 @@ var util = { | @@ -154,7 +154,7 @@ var util = { | ||
154 | if (!/\w+\.\w+/g.test(aa)) { | 154 | if (!/\w+\.\w+/g.test(aa)) { |
155 | return 'if(obj.' + aa + '){'; | 155 | return 'if(obj.' + aa + '){'; |
156 | } | 156 | } |
157 | - return 'if($1){'; | 157 | + return 'if('+$1+'){'; |
158 | }); | 158 | }); |
159 | return "[[" + trim + "]]"; | 159 | return "[[" + trim + "]]"; |
160 | } else if (/^\/if/.test(trim)) { | 160 | } else if (/^\/if/.test(trim)) { |
-
Please register or login to post a comment