Commit 51b2c5eb by Jinhao Chen

Update README.md

parent f7bfc991
......@@ -363,7 +363,7 @@
>>>> 结果为 test = 122
>>>> 如果需要访问多个上下文数据,请使用变量声明域,变量声明域即在 js 代码前添加注释信息:
>>>>```
>>>> /*{"abc": "$pre.title", "url": "$self.url"}*/
>>>> /*#{"abc": "$pre.title", "url": "$self.url"}#*/
>>>> return abc+url;
>>>>```
>>>> abc 变量为上下文命令对应 $pre.title 的值,url 变量为上下文命令 $self.url 对应的值,数据类型均为字符串
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment