Replies: 4 comments
-
另外需要优化的点在于,需要把 modules 做细分,例如有部分的 modules 是以 [xxx,xxx] 作为一个整体的,而我们如果想要禁用某一个 xxx 则会比较困难,需要对其做拆分,会有利于后续禁用内置模块 |
Beta Was this translation helpful? Give feedback.
0 replies
-
modules 和 constants 命名如下:
看一哈 cc @wewoor |
Beta Was this translation helpful? Give feedback.
0 replies
-
没太看懂 modules 部分的命名,如果是下面的这个例子: const { ROOT_FOLDER_CONTEXT_MENU } = this.builtinService.getModules(); const { folder.context.menu } = this.builtinService.getModules(); 命名是怎样的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
考虑如下:
cc @wewoor |
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
-
我们可以把 modules 和 constants 的命名区分下,不然会看起来比较奇怪,这里会怀疑获取的是一个不同的 Constant
Originally posted by @wewoor in #471 (comment)
Beta Was this translation helpful? Give feedback.
All reactions