-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [Bug]: ToolBar的【锁定/解锁】功能接口报错 #882
Comments
Title: 🐛 [Bug]: ToolBar's [Lock/Unlock] function interface reported an error |
我看了一下lock对应的Api代码,appService从main-routes里引入pageService实例并调用update方法,但是main-routes里只暴露出mockService实例,pageService是它的一个成员变量,所以调用lock api会出现update方法undefined |
I took a look at the Api code corresponding to lock. appService introduces the pageService instance from main-routes and calls the update method. However, only the mockService instance is exposed in main-routes. PageService is one of its member variables, so when calling the lock api, update will appear. methodundefined |
Environment
Edge
Version
v20.17.0
Version
latest
Link to minimal reproduction
无
Step to reproduce
What is expected
正常执行【解锁/锁定】操作
What is actually happening
执行【解锁/锁定】功能报错
What is your project name
tiny-engine
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered: