Skip to content

Commit bab319f

Browse files
committed
feat(form): update form builder version
1 parent 35bb798 commit bab319f

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"author": "[email protected]",
2525
"license": "MIT",
2626
"dependencies": {
27-
"@fext/vue-form-builder": "^2.0.2",
27+
"@fext/vue-form-builder": "^2.1.0",
2828
"@fext/vue-use": "^0.1.1",
2929
"@vue/composition-api": "^0.5.0",
3030
"axios": "^0.19.0",

src/modules/form/pages/form-builder/ExampleFormBuilder.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,18 @@
2222
</el-form>
2323
</el-col>
2424
<el-col :span="12" :xs="24">
25-
<el-card header="表单配置" class="form-builder-card">
25+
<el-card class="form-builder-card">
26+
<template slot="header">
27+
<span>表单配置</span>
28+
<span>
29+
<a
30+
href="https://github.com/openfext/vue-form-builder"
31+
target="_blank"
32+
>
33+
参考文档
34+
</a>
35+
</span>
36+
</template>
2637
<el-input type="textarea" v-model="formConfigJSON" rows="45" />
2738
</el-card>
2839
</el-col>

src/modules/form/pages/form-builder/components/ExampleActorComplex.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@
3333
</div>
3434
</template>
3535

36-
<style lang="scss" scoped>
37-
.el-select {
38-
::v-deep .el-input {
39-
width: 100px;
40-
}
41-
}
42-
</style>
36+
<style lang="scss" scoped></style>
4337

4438
<script>
4539
import { useFormElement } from '@fext/vue-use';

0 commit comments

Comments
 (0)