Commit 87d65c56 by zhaochengxiang

资产模版调用后台下载

parent f3ae2ec2
......@@ -41,7 +41,7 @@ const ImportDirectory = (props) => {
}
const download = () => {
window.open("/data-govern/docs/AssetThemeModel.xlsx");
window.open('/api/dataassetmanager/directoryApi/getImportTemplate');
}
const upload = async (ignoreRepeatPath = false) => {
......
......@@ -11,7 +11,7 @@ const ImportElement = (props) => {
const [ confirmLoading, setConfirmLoading ] = useState(false);
const downloadTemplate = () => {
window.open("/data-govern/docs/ElementModel.xlsx");
window.open('/api/dataassetmanager/elementApi/getImportTemplate');
}
const uploadProps = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment