|
@@ -25,12 +25,13 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
|
|
console.log('query', query);
|
|
console.log('query', query);
|
|
if (query.question) {
|
|
if (query.question) {
|
|
query.keyword = query.question;
|
|
query.keyword = query.question;
|
|
|
|
+ delete query.question_tag;
|
|
delete query.question; // 删除原有的 question 参数
|
|
delete query.question; // 删除原有的 question 参数
|
|
}
|
|
}
|
|
const params = {
|
|
const params = {
|
|
...query,
|
|
...query,
|
|
question_category: query.category||query.question_category,
|
|
question_category: query.category||query.question_category,
|
|
- question_tag: query.tag,
|
|
|
|
|
|
+ /* question_tag: query.tag, */
|
|
tenant_id: 1
|
|
tenant_id: 1
|
|
}
|
|
}
|
|
console.log('params', params);
|
|
console.log('params', params);
|
|
@@ -292,6 +293,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
|
|
search: {
|
|
search: {
|
|
col: { span: 3 },
|
|
col: { span: 3 },
|
|
show: true,
|
|
show: true,
|
|
|
|
+ autoSearch:false,
|
|
buttons: {
|
|
buttons: {
|
|
search: {
|
|
search: {
|
|
size: 'small', // 设置查询按钮大小为small
|
|
size: 'small', // 设置查询按钮大小为small
|