Skip to content

该如何隐藏 exchange-client 的导入 / 导出 excel 选单按钮 #3035

Discussion options

You must be logged in to vote

If you don't need this menu item, the best way is not to register the exchange-client plugin. If you must have the ability of this plugin but don't want a menu item, the corresponding id should be sheets-exchange-client.operation.exchange

如果不需要这个菜单的话最好的方法是不用 exchange-client 插件,如果一定要这个插件的能力但不希望有菜单栏的话,对应的 id 应该是 sheets-exchange-client.operation.exchange

univer.registerPlugin(UniverSheetsExchangeClientPlugin, {
  menu: {
    'sheets-exchange-client.operation.exchange': {
      hidden: true,
    },
  },
});

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@mukiwu
Comment options

Answer selected by mukiwu
Comment options

You must be logged in to vote
5 replies
@mukiwu
Comment options

@zhang-ke-ke
Comment options

@mukiwu
Comment options

@zhang-ke-ke
Comment options

@mukiwu
Comment options

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