Skip to content

Commit

Permalink
Merge pull request #8393 from dataease/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ziyujiahao committed Mar 6, 2024
2 parents 7ff6f1a + 7aed34e commit 54ec023
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion core/frontend/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54ec023

Please sign in to comment.