Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchentong committed Jul 10, 2024
1 parent ffd53fa commit 89d4c6b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/playground/src/views/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const form = defineForm([{
key: 'xxx',
title: 'xxx',
collapsed: true,
group: ['xx'],
// group: ['xx'],
render: r => r.input(),
rule: [{
required: true,
Expand Down
6 changes: 6 additions & 0 deletions packages/form-render/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @gopowerteam/form-render

## 0.0.69

### Patch Changes

- update

## 0.0.68

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/form-render/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gopowerteam/form-render",
"type": "module",
"version": "0.0.68",
"version": "0.0.69",
"author": {
"name": "zhuchentong",
"email": "2037630@gmail.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default defineComponent({
const defaultGroup = this.groupForms.find(x => x.group === this.activeTab)
if (!this.groups.length) {
return <>
<FormRender form={this.formItems} ref={(instance: any) => defaultGroup!.instance = instance}></FormRender>
<FormRender form={this.formItems} value={this.value} ref={(instance: any) => defaultGroup!.instance = instance}></FormRender>
<Divider></Divider>
<div class="flex items-center justify-between space-x-2">
<Button type="secondary" size="large" onClick={this.onReset}>重置</Button>
Expand Down
7 changes: 7 additions & 0 deletions packages/table-render/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @gopowerteam/table-render

## 0.0.120

### Patch Changes

- Updated dependencies
- @gopowerteam/form-render@0.0.69

## 0.0.119

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/table-render/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gopowerteam/table-render",
"type": "module",
"version": "0.0.119",
"version": "0.0.120",
"author": {
"name": "zhuchentong",
"email": "2037630@gmail.com"
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"peerDependencies": {
"@arco-design/web-vue": "^2.55.3",
"@gopowerteam/form-render": "^0.0.68",
"@gopowerteam/form-render": "^0.0.69",
"@gopowerteam/modal-render": "^0.0.43",
"vue": "^3.0.0"
},
Expand Down

0 comments on commit 89d4c6b

Please sign in to comment.