提交 811ad2e8 编写于 作者: RedPig97's avatar RedPig97

update:更新

上级 773fb00a
...@@ -109,7 +109,7 @@ export class MDView extends MainView { ...@@ -109,7 +109,7 @@ export class MDView extends MainView {
* @param {*} [args={}] * @param {*} [args={}]
* @memberof MDView * @memberof MDView
*/ */
public handleQuickGroupSearch(args: string): void { public handleQuickGroupSearch(args: any = {}): void {
const { viewParams } = this.state; const { viewParams } = this.state;
Object.assign(viewParams, { quickGroup: args.data }); Object.assign(viewParams, { quickGroup: args.data });
const tag = this.getMDCtrl().name; const tag = this.getMDCtrl().name;
...@@ -121,7 +121,7 @@ export class MDView extends MainView { ...@@ -121,7 +121,7 @@ export class MDView extends MainView {
* @param {*} [args={}] * @param {*} [args={}]
* @memberof MDView * @memberof MDView
*/ */
public handleQuickSearch(args: any = {}): void { public handleQuickSearch(args: string): void {
const { viewParams } = this.state; const { viewParams } = this.state;
const query = args || ''; const query = args || '';
Object.assign(viewParams, { query: query }); Object.assign(viewParams, { query: query });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册