Skip to content

Commit

Permalink
fix(scirpt): 在OCS软件中不显示软件配置同步的面板
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Apr 19, 2023
1 parent d0128a4 commit baf3815
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/scripts/src/projects/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export const BackgroundProject = Project.create({
name: '🔄️ 软件配置同步',
namespace: 'background.app',
url: [['所有页面', /./]],
// 如果是在OCS软件中则不显示此页面
hideInPanel: $gm.getInfos() === undefined,
configs: {
notes: {
defaultValue: $creator.notes([
Expand Down

0 comments on commit baf3815

Please sign in to comment.