<%_ if (position === 'import') { _%>
import FormConfigDesign from './form-config-design.vue';
<%_ } _%>
<%_ if (position === 'method') { _%>
<%_ } _%>
<%_ if (position === 'tools') { _%>
<%_ } _%>
<%_ if (position === 'rowOperations') { _%>
  <%_ if (clientTheme === 'vben') { _%>
      {
        title: '设计',
        name: 'design',
        containerType: 'modal',
        type: 'link',
      },
  <%_ } else { _%>
  <%_ } _%>
<%_ } _%>
<%_ if (position === 'rowClickHandler') { _%>
    <%_ if (clientTheme === 'vben') { _%>
    case 'design':
      modalConfig.componentName = shallowRef(FormConfigDesign);
      modalConfig.entityId = row.id;
      modalConfig.containerType = 'modal';
      modalConfig.footer = null;
      modalConfig.canFullscreen = false;
      modalConfig.closable = false;
      setModalProps({ open: true, defaultFullscreen: true, title: '' });
      break;
    <%_ } else { _%>
    <%_ } _%>
<%_ } _%>
<%_ if (position === 'toolbarToolClick') { _%>
  <%_ if (['vben'].includes(clientTheme)) { _%>
      case 'import': {
          apis.<%= entityInstance %>Service
            .generate()
            .then(_res => {
              message.success('更新成功');
              formSearch();
            });
          break;
      }
  <%_ } else { _%>

  <%_ } _%>
<%_ } _%>
