|
|
@@ -2,7 +2,7 @@ import SpanGroup from './SpanGroup.vue'
|
|
|
import icon from '../assets/icon/icon_5rich_text.svg'
|
|
|
import type { IComponentModelConfig } from '../type'
|
|
|
import i18n from '@/locales'
|
|
|
-import { flagOptions, stateOptions } from '@/constants'
|
|
|
+import { flagOptions, stateOptions, stateList } from '@/constants'
|
|
|
import defaultStyle from './style.json'
|
|
|
import Config from './Config.vue'
|
|
|
|
|
|
@@ -17,7 +17,7 @@ export default {
|
|
|
parts: [
|
|
|
{
|
|
|
name: 'main',
|
|
|
- stateList: ['default']
|
|
|
+ stateList
|
|
|
}
|
|
|
],
|
|
|
defaultSchema: {
|
|
|
@@ -203,10 +203,7 @@ export default {
|
|
|
{
|
|
|
label: '背景',
|
|
|
field: 'background',
|
|
|
- valueType: 'background',
|
|
|
- componentProps: {
|
|
|
- onlyColor: true
|
|
|
- }
|
|
|
+ valueType: 'background'
|
|
|
},
|
|
|
{
|
|
|
label: '边框',
|