-
上面代码我在use_scope('plus')中放入两个buttons,点击一个button再对应的scope中显示对应的表格, |
Beta Was this translation helpful? Give feedback.
Answered by
wang0618
Jun 21, 2023
Replies: 2 comments
-
输出域plus1和plus2并没有包含在plus输出域中,因为在回调函数中使用 所以你需要对回调函数使用 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
qqckly
-
经过上面修改可以实现我想要的效果了,但是下面的功能模块特别多,要检查每个函数并添加use_scope装饰器才行,确实有一些麻烦, 谢谢指导,我先试着修改一下 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
输出域plus1和plus2并没有包含在plus输出域中,因为在回调函数中使用
with use_scope()
创建的scope是以根scope为父scope的。所以你需要对回调函数使用
@use_scope('plus')
装饰