Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载前端代码配置表变查询条件显示列不生效 #6180

Closed
zealzhangz opened this issue Apr 26, 2024 · 1 comment
Closed

下载前端代码配置表变查询条件显示列不生效 #6180

zealzhangz opened this issue Apr 26, 2024 · 1 comment

Comments

@zealzhangz
Copy link

版本号:

3.5.0

前端版本:vue3版?还是 vue2版?

vue3版

问题描述:

下载前端代码表修改表单查询条件代码,配置栅格化布局显示列数不生效

截图&代码:

配置代码如下:

      formConfig: {
        //labelWidth: 120,
        schemas: searchFormSchema,
        autoSubmitOnEnter: true,
        showAdvancedButton: true,
        // autoAdvancedLine: 3,
        // fieldMapToNumber: [],
        // fieldMapToTime: [],
        baseColProps: { span: 12 },
      },

//查询数据
export const searchFormSchema: FormSchema[] = [
  {
    label: '任务名称',
    field: 'jobName',
    component: 'JInput',
    colProps: { span: 12 },
  },
  {
    label: '任务状态',
    field: 'jobStatus',
    component: 'JDictSelectTag',
    componentProps: {
      dictCode: 'job_status',
      placeholder: '请输入任务状态',
      stringToNumber: true,
    },
    colProps: { span: 12 },
  },
];

1714103584612

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@1298191366
Copy link

1298191366 commented Apr 29, 2024

已修复,待新版本发布

修改位置: useListPage.ts页面,defaultTableProps里面,当为baseColPropslabelCol的时候,直接替换

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants