component_ryl_v3 1.2.0 → 1.3.0

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/README.md CHANGED
@@ -46,9 +46,9 @@ Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://
46
46
 
47
47
  * 组件属性定义
48
48
  {Object} options - 配置选项
49
- {number} [options.type=1] - 类型:1(自定义/常用样式), 2(默认)
49
+ {number} [options.type=2] - 类型:1(自定义/常用样式), 2(默认)
50
50
  {string} options.text - 提示内容
51
- {string} [options.title=''] - 提示标题(type为2时才传)
51
+ {string} [options.title='温馨提示'] - 提示标题
52
52
  {boolean} [options.showCancelButton=true] - 是否显示取消按钮
53
53
  {string} [options.icon='warning'] - 图标
54
54
  {string} [options.confirmButtonText='确定'] - 确认按钮文本
@@ -1005,9 +1005,9 @@ const _sfc_main = {
1005
1005
  };
1006
1006
  const HandTab = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64ce971a"]]);
1007
1007
  function handConfirmNew({
1008
- type = 1,
1008
+ type = 2,
1009
1009
  text,
1010
- title = "",
1010
+ title = "温馨提示",
1011
1011
  showCancelButton = true,
1012
1012
  icon = "warning",
1013
1013
  confirmButtonText = "确定",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "component_ryl_v3",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "type": "module",
6
6
  "description": "Vue3 login form component with Element Plus",
7
7
  "main": "./dist/component_ryl_v3.js",
@@ -4,7 +4,7 @@ import { ElMessageBox } from "element-plus";
4
4
  * 二次封装 Element Plus MessageBox
5
5
  *
6
6
  * @param {Object} options - 配置选项
7
- * @param {number} [options.type=1] - 类型:1(自定义/常用样式), 2(默认)
7
+ * @param {number} [options.type=2] - 类型:1(自定义/常用样式), 2(默认)
8
8
  * @param {string} options.text - 提示内容
9
9
  * @param {string} [options.title=''] - 提示标题(type为2时才传)
10
10
  * @param {boolean} [options.showCancelButton=true] - 是否显示取消按钮
@@ -16,9 +16,9 @@ import { ElMessageBox } from "element-plus";
16
16
  * @returns {Promise} - Promise对象,resolve表示确认,reject表示取消
17
17
  */
18
18
  export function handConfirmNew({
19
- type = 1,
19
+ type = 2,
20
20
  text,
21
- title = '',
21
+ title = '温馨提示',
22
22
  showCancelButton = true,
23
23
  icon = 'warning',
24
24
  confirmButtonText = '确定',