formax_sgj-ui 1.0.3 → 1.0.4
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/docs/index.html
CHANGED
package/package.json
CHANGED
|
@@ -20,8 +20,8 @@ export const FormaxButton = (VueDemi as any).defineComponent({
|
|
|
20
20
|
borderRadius: '4px',
|
|
21
21
|
border: '1px solid #ccc',
|
|
22
22
|
cursor: 'pointer',
|
|
23
|
-
backgroundColor: props.type === 'primary' ? '#007bff' : props.type === 'danger' ? '#dc3545' : '#
|
|
24
|
-
color:
|
|
23
|
+
backgroundColor: props.type === 'primary' ? '#007bff' : props.type === 'danger' ? '#dc3545' : '#007bff',
|
|
24
|
+
color: '#fff',
|
|
25
25
|
fontSize: '14px'
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -52,7 +52,7 @@ const meta: ComponentMeta = {
|
|
|
52
52
|
label: { type: 'string', default: 'Button', description: '按钮文本' },
|
|
53
53
|
type: { type: 'string', default: 'default', description: '按钮类型', options: ['default', 'primary', 'danger'] }
|
|
54
54
|
},
|
|
55
|
-
events: [
|
|
55
|
+
events: [{ name: 'click', description: '点击按钮时触发', payload: 'Event' }],
|
|
56
56
|
slots: ['default'],
|
|
57
57
|
usage: `<FormaxButton type="primary" label="Click Me" @click="handleClick" />`,
|
|
58
58
|
package: 'general',
|
|
@@ -62,5 +62,5 @@ const meta: ComponentMeta = {
|
|
|
62
62
|
image: 'GCFormaxButton.png'
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
FormaxButton.__doc_meta__ = meta;
|
|
66
|
-
|
|
65
|
+
FormaxButton.__doc_meta__ = meta;
|
|
66
|
+
|