diff --git a/docs/template/index-tree.vue.vm b/docs/template/index-tree.vue.vm index 54539474..2a7cb252 100644 --- a/docs/template/index-tree.vue.vm +++ b/docs/template/index-tree.vue.vm @@ -169,7 +169,7 @@ function addInRow(row: Api.$ModuleName.${BusinessName}) { } function handleExport() { - download('/${moduleName}/${businessName}/export', searchParams, `${functionName}_#[[${new Date().getTime()}]]#.xlsx`); + download('/${moduleName}/${businessName}/export', searchParams.value, `${functionName}_#[[${new Date().getTime()}]]#.xlsx`); } diff --git a/docs/template/index.vue.vm b/docs/template/index.vue.vm index 39889751..f1cc6dc9 100644 --- a/docs/template/index.vue.vm +++ b/docs/template/index.vue.vm @@ -150,7 +150,7 @@ function edit($pkColumn.javaField: CommonType.IdType) { } function handleExport() { - download('/${moduleName}/${businessName}/export', searchParams, `${functionName}_#[[${new Date().getTime()}]]#.xlsx`); + download('/${moduleName}/${businessName}/export', searchParams.value, `${functionName}_#[[${new Date().getTime()}]]#.xlsx`); }