@xizs/nuxt-antui 0.0.30 → 0.0.32

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.
@@ -19,7 +19,7 @@ export type FormPropsType = {
19
19
 
20
20
  export class Form {
21
21
  static FormComs: Record<string, (form: any, item: FormItemType) => VNode> = {
22
- input: (form, item) => <AInput v-model:value={form[item.key as string]} />,
22
+ input: (form, item) => <AInput v-model:value={form[item.key as string]} {...form.bind} />,
23
23
  password: (form, item) => <AInputPassword v-model:value={form[item.key as string]} />,
24
24
  button: (form, item) => <AButton {...item.bind}>{item.bind?.content}</AButton>,
25
25
  textarea: (form, item) => <ATextarea v-model:value={form[item.key as string]} />,
@@ -20,7 +20,7 @@ export type FormPropsType = {
20
20
  export class Form2 {
21
21
  static FormComs: Record<string, any> ={
22
22
  input:(form:any,item:FormItemType)=>{
23
- return <AInput v-model:value={form[item.key as string]}></AInput>
23
+ return <AInput v-model:value={form[item.key as string]} {...item.bind}></AInput>
24
24
  },
25
25
  password:(form:any,item:FormItemType)=>{
26
26
  return <AInputPassword v-model:value={form[item.key as string]}></AInputPassword>
@@ -14,6 +14,8 @@
14
14
  "确认删除该条数据吗?":"Are you sure you want to delete this data?",
15
15
  "确定":"Confirm",
16
16
  "取消":"Cancel",
17
+ "请输入{label}开始":"请输入{label}开始",
18
+ "请输入{label}结束":"请输入{label}结束",
17
19
 
18
20
  "":""
19
21
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.30",
4
+ "version": "0.0.32",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",