@whitesev/pops 1.6.1 → 1.6.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whitesev/pops",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "弹窗库",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -1498,6 +1498,7 @@ export const PanelHandleContentDetails = {
1498
1498
  `;
1499
1499
 
1500
1500
  const PopsPanelSelectMultiple = {
1501
+ [Symbol.toStringTag]: "PopsPanelSelectMultiple",
1501
1502
  $el: {
1502
1503
  /** 容器 */
1503
1504
  $container: void 0 as any as HTMLElement,
@@ -1838,7 +1839,7 @@ export const PanelHandleContentDetails = {
1838
1839
  }
1839
1840
  let { style, ...userConfirmDetails } =
1840
1841
  formConfig.selectConfirmDialogDetails || {};
1841
- let confirmDetails = Object.assign(
1842
+ let confirmDetails =popsUtils.assign(
1842
1843
  {
1843
1844
  title: {
1844
1845
  text: "请勾选需要选择的选项",
@@ -1859,6 +1860,7 @@ export const PanelHandleContentDetails = {
1859
1860
  callback(details, event) {
1860
1861
  that.$data.selectInfo = [...selectedInfo];
1861
1862
  that.updateSelectTagItem();
1863
+ details.close();
1862
1864
  },
1863
1865
  },
1864
1866
  },
@@ -2043,7 +2045,7 @@ export const PanelHandleContentDetails = {
2043
2045
  };
2044
2046
 
2045
2047
  PopsPanelSelectMultiple.init();
2046
- Reflect.set(liElement, "data-select", PopsPanelSelectMultiple);
2048
+ Reflect.set(liElement, "data-select-multiple", PopsPanelSelectMultiple);
2047
2049
  return liElement;
2048
2050
  },
2049
2051
  /**