Merge pull request #8392 from dataease/pr@dev@revert_code

revert(仪表板): 去掉日志打印和sourcemap
This commit is contained in:
王嘉豪 2024-03-06 22:16:27 +08:00 committed by GitHub
commit 7aed34eb1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -794,7 +794,6 @@ export default {
restore() {
const canvasHeight = document.getElementById(this.previewDomId).offsetHeight
const canvasWidth = document.getElementById(this.previewDomId).offsetWidth
console.log('===canvasHeight=' + canvasHeight + ';canvasWidth=' + canvasWidth)
this.scaleWidth = (canvasWidth) * 100 / this.canvasStyleData.width //
// 使
if (this.backScreenShot) {

View File

@ -17,7 +17,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
const port = process.env.port || process.env.npm_config_port || 9528 // dev port
const parallel = process.env.NODE_ENV === 'development'
module.exports = {
productionSourceMap: true,
productionSourceMap: false,
publicPath: process.env.VUE_CONTEXT_PATH,
parallel,
// 使用mock-server