w-ui-v1 1.1.35 → 1.1.36

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/w-add/w-add.vue +6 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.1.35",
3
+ "version": "1.1.36",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-add/w-add.vue CHANGED
@@ -87,17 +87,13 @@ const message = useMessage()
87
87
  defineOptions({
88
88
  name: 'w-add'
89
89
  })
90
- const props = defineProps({
91
- sourceId: {
92
- type: String,
93
- default: ''
94
- },
95
- mainCode: {
96
- type: String,
97
- default: ''
98
- },
99
90
 
100
- })
91
+ interface Props {
92
+ sourceId:string
93
+ mainCode?:string
94
+ }
95
+
96
+ const props = defineProps<Props>()
101
97
  const mainCode=ref('')
102
98
  const sourceId = ref('')
103
99
  const pageConf = ref({ groups: [] })