Skip to content

Commit 35bb798

Browse files
committed
chore: replace form-builder package
1 parent aaa8348 commit 35bb798

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"author": "[email protected]",
2525
"license": "MIT",
2626
"dependencies": {
27+
"@fext/vue-form-builder": "^2.0.2",
2728
"@fext/vue-use": "^0.1.1",
2829
"@vue/composition-api": "^0.5.0",
2930
"axios": "^0.19.0",
3031
"consola": "^2.11.0",
3132
"copy-text-to-clipboard": "^2.1.1",
3233
"core-js": "^3.3.2",
33-
"element-form-builder": "^2.0.2",
3434
"element-ui": "^2.12.0",
3535
"json2csv": "^4.5.4",
3636
"lodash": "^4.17.15",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
<el-dialog title="提交结果" :visible.sync="showResultModal" width="80%">
3232
<pre>{{ JSON.stringify(formValues, null, 4) }}</pre>
3333
<span slot="footer" class="dialog-footer">
34-
<el-button type="primary" @click="showResultModal = false"
35-
>确 定</el-button
36-
>
34+
<el-button type="primary" @click="showResultModal = false">
35+
确 定
36+
</el-button>
3737
</span>
3838
</el-dialog>
3939
</div>
@@ -49,8 +49,8 @@
4949

5050
<script>
5151
import { useForm, useLoading } from '@fext/vue-use';
52-
import { createFormBuilder } from 'element-form-builder';
53-
import { ElFormAdaptor } from 'element-form-builder/lib/adaptor/element';
52+
import { createFormBuilder } from '@fext/vue-form-builder';
53+
import { ElFormAdaptor } from '@fext/vue-form-builder/lib/adaptor/element';
5454
import ExampleFormComponents from './components';
5555
5656
export default {

0 commit comments

Comments
 (0)