Skip to content

Commit

Permalink
feat(vue-components,react-components): 组件表单配置修改
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Dec 17, 2024
1 parent 74f76d0 commit e421a58
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion react-components/img/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.2",
"version": "0.0.3",
"name": "@tmagic/react-img",
"type": "module",
"main": "src/index.ts",
Expand Down
9 changes: 7 additions & 2 deletions react-components/img/src/formConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@

export default [
{
text: '图片',
type: 'data-source-field-select',
name: 'src',
type: 'data-source-input',
text: '图片',
checkStrictly: false,
dataSourceFieldType: ['string'],
fieldConfig: {
type: 'img-upload',
},
},
{
text: '链接',
Expand Down
2 changes: 1 addition & 1 deletion vue-components/img/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.5",
"version": "0.0.6",
"name": "@tmagic/vue-img",
"type": "module",
"main": "src/index.ts",
Expand Down
9 changes: 7 additions & 2 deletions vue-components/img/src/formConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ export default [
text: 'class',
},
{
text: '图片',
type: 'data-source-field-select',
name: 'src',
type: 'data-source-input',
text: '图片',
checkStrictly: false,
dataSourceFieldType: ['string'],
fieldConfig: {
type: 'img-upload',
},
},
{
text: '链接',
Expand Down
2 changes: 1 addition & 1 deletion vue-components/page/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.6",
"version": "0.0.7",
"name": "@tmagic/vue-page",
"type": "module",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion vue-components/page/src/formConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default [
{
text: 'css',
name: 'css',
type: 'code',
type: 'vs-code',
language: 'css',
height: '500px',
},
Expand Down

0 comments on commit e421a58

Please sign in to comment.