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

支持保存和使用配置项,方便切换不同场景 #16

Open
Achuan-2 opened this issue Nov 30, 2024 · 1 comment
Open

支持保存和使用配置项,方便切换不同场景 #16

Achuan-2 opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Achuan-2
Copy link
Owner

No description provided.

@Achuan-2 Achuan-2 changed the title 支持保存配置项,方便切换 支持保存和使用配置项,方便切换不同场景 Nov 30, 2024
@Achuan-2 Achuan-2 added the enhancement New feature or request label Nov 30, 2024
@Achuan-2
Copy link
Owner Author

思路

  1. storage name不再是const,而是let,可以修改
  2. 根据storage name读取哪个json配置文件
  3. storage name也有一个json配置文件读取,插件先读取storage name.json,再根据storage name,读取对应配置json文件,加载配置

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

No branches or pull requests

1 participant