vue-devui 1.5.15-hotfix.2 → 1.5.15-hotfix.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8681,14 +8681,17 @@ var ToolbarItem = defineComponent({
8681
8681
  };
8682
8682
  return () => createVNode(Fragment, null, [config.type === "button" && createVNode(Tooltip, {
8683
8683
  "position": ["top", "bottom"],
8684
- "content": getTooltipContent(config.name, config.shortKey),
8685
8684
  "hide-after": 1e3
8686
8685
  }, {
8687
- default: () => [createVNode("span", {
8686
+ default: () => createVNode("span", {
8688
8687
  "class": "md-toolbar-item",
8689
8688
  "onClick": onToolbarItemClick,
8690
8689
  "innerHTML": config.id === "fullscreen" ? showFullscreen.value ? config.exitIcon : config.icon : config.icon
8691
- }, null)]
8690
+ }, null),
8691
+ content: () => createVNode("span", {
8692
+ "class": "md-toolbar-tip-content",
8693
+ "innerHTML": getTooltipContent(config.name, config.shortKey)
8694
+ }, null)
8692
8695
  }), config.type === "dropDown" && createVNode(Dropdown, {
8693
8696
  "position": ["bottom-start"],
8694
8697
  "align": "start"
@@ -8698,14 +8701,18 @@ var ToolbarItem = defineComponent({
8698
8701
  "content": getTooltipContent(config.name),
8699
8702
  "hide-after": 1e3
8700
8703
  }, {
8701
- default: () => [createVNode("span", {
8704
+ default: () => createVNode("span", {
8702
8705
  "class": "md-toolbar-item",
8703
8706
  "onClick": () => {
8704
8707
  var _a;
8705
8708
  return (_a = config.handler) == null ? void 0 : _a.call(config);
8706
8709
  },
8707
8710
  "innerHTML": config.icon
8708
- }, null)]
8711
+ }, null),
8712
+ content: () => createVNode("span", {
8713
+ "class": "md-toolbar-tip-content",
8714
+ "innerHTML": getTooltipContent(config.name)
8715
+ }, null)
8709
8716
  })]),
8710
8717
  menu: () => createVNode(Fragment, null, [config.component === "FontSize" && createVNode(FontSize, null, null), config.component === "FontColor" && createVNode(FontColor, null, null)])
8711
8718
  })]);