Skip to content
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

mvc 问题 #1

Open
MiKiJT opened this issue May 7, 2024 · 0 comments
Open

mvc 问题 #1

MiKiJT opened this issue May 7, 2024 · 0 comments

Comments

@MiKiJT
Copy link

MiKiJT commented May 7, 2024

在mvc的例子中
在LoginControll中直接通过_view 来调用原本属于view的内容

def verify_user(self):
        id_ = self._view.id_line.text()
        psd_ = self._view.psd_line.text()

我的疑问是: 这种操作方式是不是不算是分层?因为view相对于LoginControll是完全透明的,这里不需要隔离吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant