diff --git a/src/components/ServiceConfigurationActionLog.vue b/src/components/ServiceConfigurationActionLog.vue index f9fbb81..6a4ecbd 100644 --- a/src/components/ServiceConfigurationActionLog.vue +++ b/src/components/ServiceConfigurationActionLog.vue @@ -91,5 +91,9 @@ async function handleLogChange() { }] }); } + else if ( 'FileToBeDownload' === props.log.response.$dataType ) { + var url = process.env.NODE_ENV === 'production' ? `${props.log.response.url}` : `http://localhost:80${props.log.response.url}`; + window.open(url); + } } \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 211a29f..f044904 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,8 +1,8 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, - publicPath : './', - configureWebpack : { - devtool:"source-map" + publicPath: './', + configureWebpack: { + devtool: "source-map", }, })