@ftjs/antd 0.1.1 → 0.1.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/dist/index.js +3 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -266,7 +266,8 @@ const inputNumber = defineFormComponent((props) => {
|
|
|
266
266
|
return createVNode(FormItem, formItemProps.value, {
|
|
267
267
|
default: () => [toValue(isView.value) ? createVNode("div", null, [valueComputed.value]) : createVNode(InputNumber, mergeProps({
|
|
268
268
|
"value": valueComputed.value,
|
|
269
|
-
"onUpdate:value": ($event) => valueComputed.value = $event
|
|
269
|
+
"onUpdate:value": ($event) => valueComputed.value = $event,
|
|
270
|
+
"placeholder": `请输入${formItemProps.value.label}`
|
|
270
271
|
}, _props), null)]
|
|
271
272
|
});
|
|
272
273
|
};
|
|
@@ -441,7 +442,7 @@ const FtForm = /* @__PURE__ */ defineFtForm((_, ctx) => {
|
|
|
441
442
|
"ref": formRef,
|
|
442
443
|
"name": id,
|
|
443
444
|
"style": {
|
|
444
|
-
width
|
|
445
|
+
width: width.value
|
|
445
446
|
}
|
|
446
447
|
}, ctx.attrs, formProps.value), {
|
|
447
448
|
default: () => [ctx.slots.formContent(), !hideFooter.value && createVNode(FormItem, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ftjs/antd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"vite": "^6.1.0",
|
|
31
31
|
"vite-plugin-dts": "^4.5.0",
|
|
32
32
|
"vue-tsc": "2.2.0",
|
|
33
|
-
"@ftjs/core": "0.1.
|
|
33
|
+
"@ftjs/core": "0.1.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@ant-design/icons-vue": ">=7.0.0",
|