feat(vue-components,react-components): 组件表单配置修改

This commit is contained in:
roymondchen 2024-12-17 20:33:57 +08:00
parent 74f76d0ba3
commit e421a58f4e
6 changed files with 18 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{
"version": "0.0.2",
"version": "0.0.3",
"name": "@tmagic/react-img",
"type": "module",
"main": "src/index.ts",

View File

@ -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: '链接',

View File

@ -1,5 +1,5 @@
{
"version": "0.0.5",
"version": "0.0.6",
"name": "@tmagic/vue-img",
"type": "module",
"main": "src/index.ts",

View File

@ -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: '链接',

View File

@ -1,5 +1,5 @@
{
"version": "0.0.6",
"version": "0.0.7",
"name": "@tmagic/vue-page",
"type": "module",
"main": "src/index.ts",

View File

@ -75,7 +75,7 @@ export default [
{
text: 'css',
name: 'css',
type: 'code',
type: 'vs-code',
language: 'css',
height: '500px',
},