pro-design-vue 1.3.30 → 1.3.32

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.
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.3.30 */
1
+ /*! Pro Design Vue v1.3.32 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
@@ -32,7 +32,7 @@
32
32
  const DEFAULT_NAMESPACE = "pro";
33
33
  const DEFAULT_LOCALE = "zh-CN";
34
34
 
35
- const version$1 = "1.3.30";
35
+ const version$1 = "1.3.32";
36
36
 
37
37
  const makeInstaller = (components = []) => {
38
38
  const install = (app) => {
@@ -10405,8 +10405,7 @@
10405
10405
  }
10406
10406
  return void 0;
10407
10407
  };
10408
- const buttonProps = vue.computed(() => omit(props, ["items", "permission", "iconStyle", "icon", "stop", "confirmProps", "popconfirmProps", "menuProps", "dropdownProps", "tooltipProps", "tooltip", "mode", "onConfirm", "onClick", "onCancel", "onMenuClick"]));
10409
- const onClick = (e) => {
10408
+ const handleClick = (e) => {
10410
10409
  var _a, _b, _c, _d;
10411
10410
  if (props.stop) {
10412
10411
  e.stopPropagation();
@@ -10444,9 +10443,12 @@
10444
10443
  "icon": props.icon
10445
10444
  }, null);
10446
10445
  }
10447
- let defaultDom = vue.createVNode(antDesignVue.Button, vue.mergeProps(attrs, buttonProps.value, {
10448
- "class": prefixCls,
10449
- "onClick": props.mode === "popconfirm" || props.mode === "dropdown" ? void 0 : onClick
10446
+ const buttonProps = {
10447
+ ...omit(props, ["items", "permission", "iconStyle", "icon", "stop", "confirmProps", "popconfirmProps", "menuProps", "dropdownProps", "tooltipProps", "tooltip", "mode", "onConfirm", "onClick", "onCancel", "onMenuClick"]),
10448
+ onClick: handleClick
10449
+ };
10450
+ let defaultDom = vue.createVNode(antDesignVue.Button, vue.mergeProps(attrs, buttonProps, {
10451
+ "class": prefixCls
10450
10452
  }), {
10451
10453
  default: () => {
10452
10454
  var _a2;