Browse Source

添加FileToBeDownload返回类型支持

master
zhaohe 8 months ago
parent
commit
827bf0be49
  1. 4
      src/components/ServiceConfigurationActionLog.vue
  2. 2
      vue.config.js

4
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);
}
} }
</script> </script>

2
vue.config.js

@ -3,6 +3,6 @@ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
publicPath: './', publicPath: './',
configureWebpack: { configureWebpack: {
devtool:"source-map"
devtool: "source-map",
}, },
}) })
Loading…
Cancel
Save