mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-07-23 18:30:43 +08:00
fix: 调整编辑器配置项展示
This commit is contained in:
parent
b13cd3425b
commit
8699dc12af
@ -74,7 +74,6 @@ const codeConfig = computed<GroupListConfig>(() => ({
|
||||
name: 'hookData',
|
||||
enableToggleMode: false,
|
||||
expandAll: true,
|
||||
flat: true,
|
||||
addable: () => false,
|
||||
title: (mForm, { model, index }: any) => {
|
||||
if (model.codeType === HookCodeType.DATA_SOURCE_METHOD) {
|
||||
|
||||
@ -340,7 +340,6 @@ const actionsConfig = computed(
|
||||
defineFormItem({
|
||||
type: 'panel',
|
||||
labelPosition: 'left',
|
||||
flat: true,
|
||||
items: [
|
||||
{
|
||||
type: 'group-list',
|
||||
@ -349,7 +348,6 @@ const actionsConfig = computed(
|
||||
enableToggleMode: false,
|
||||
titlePrefix: '动作',
|
||||
labelPosition: 'left',
|
||||
flat: true,
|
||||
items: [
|
||||
actionTypeConfig.value,
|
||||
targetCompConfig.value,
|
||||
|
||||
@ -195,7 +195,6 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
{
|
||||
name: 'created',
|
||||
text: 'Created',
|
||||
flat: true,
|
||||
labelPosition: 'top',
|
||||
type: 'code-select',
|
||||
titleExtra: '组件初始化时执行',
|
||||
@ -215,8 +214,6 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
name: 'mounted',
|
||||
text: 'Mounted',
|
||||
labelPosition: 'top',
|
||||
flat: true,
|
||||
|
||||
type: 'code-select',
|
||||
titleExtra: '组件挂载到dom时执行',
|
||||
rules: [
|
||||
@ -234,7 +231,6 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
{
|
||||
name: 'display',
|
||||
text: 'Display',
|
||||
flat: true,
|
||||
titleExtra: '控制组件是否渲染,关系的代码块返回值为false时不渲染',
|
||||
labelPosition: 'top',
|
||||
type: 'code-select',
|
||||
@ -278,7 +274,6 @@ export const displayTabConfig: TabPaneConfig<DisplayCondsConfig> = {
|
||||
type: 'display-conds',
|
||||
name: NODE_CONDS_KEY,
|
||||
titlePrefix: '条件组',
|
||||
flat: true,
|
||||
fixed: 'right',
|
||||
operateColWidth: 112,
|
||||
defaultValue: [],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user