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

切换host使用有问题 #27

Open
lldacing opened this issue Dec 26, 2020 · 2 comments
Open

切换host使用有问题 #27

lldacing opened this issue Dec 26, 2020 · 2 comments

Comments

@lldacing
Copy link

1、第一次使用工具时,启动的时侯初始化“切换host”下左侧列表时会报数组越界
2、数据库里面已经有host信息时,再新建一个保存后,右侧编辑区展示的内容不对,展示的是系统hosts文件内容,看数据库里面是对的,在左侧点击其它host后,新建的这个host的库里面的信息被更新成host文件内容了

@rememberber
Copy link
Owner

1、第一次使用工具时,启动的时侯初始化“切换host”下左侧列表时会报数组越界
2、数据库里面已经有host信息时,再新建一个保存后,右侧编辑区展示的内容不对,展示的是系统hosts文件内容,看数据库里面是对的,在左侧点击其它host后,新建的这个host的库里面的信息被更新成host文件内容了

更新下代码,然后再试试,看看好了没?

@lldacing
Copy link
Author

lldacing commented Jan 1, 2021

1、第一次使用工具时,启动的时侯初始化“切换host”下左侧列表时会报数组越界
2、数据库里面已经有host信息时,再新建一个保存后,右侧编辑区展示的内容不对,展示的是系统hosts文件内容,看数据库里面是对的,在左侧点击其它host后,新建的这个host的库里面的信息被更新成host文件内容了

更新下代码,然后再试试,看看好了没?

还是老样子,第一个问题现在启动不报了,但是删除掉最后一个host时会报,第二个问题还是老样子

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

2 participants