@bsgoal/common 2.5.3 → 2.5.5

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": "@bsgoal/common",
3
- "version": "2.5.3",
3
+ "version": "2.5.5",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-05-18 16:24:25
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-23 16:58:12
5
+ * @LastEditTime: 2023-05-25 09:49:24
6
6
  * @FilePath: \common\src\components\bsgoal-base-button\index.vue
7
7
  * @Description: 统一按钮
8
8
  *
@@ -33,7 +33,7 @@ const props = defineProps({
33
33
  },
34
34
  content: {
35
35
  type: [String],
36
- default: '新增'
36
+ default: ''
37
37
  },
38
38
  mode: {
39
39
  type: [String],
@@ -73,6 +73,7 @@ const typeGet = computed(() => {
73
73
  case 'cancel':
74
74
  return ''
75
75
  case 'confirm':
76
+ case 'add':
76
77
  return 'primary'
77
78
  }
78
79
  return type
@@ -102,6 +103,8 @@ const contentGet = computed(() => {
102
103
  return '确认'
103
104
  case 'add':
104
105
  return '新增'
106
+ case 'delete':
107
+ return '删除'
105
108
  }
106
109
  return content
107
110
  })