commit
54ec023c0c
@ -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) {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user