|
|
@ -209,10 +209,11 @@ export const archivesCrud = { |
|
|
|
|
|
|
|
|
// 自适应高度
|
|
|
// 自适应高度
|
|
|
if (this[name].length === 0 || this[name].length < 10) { |
|
|
if (this[name].length === 0 || this[name].length < 10) { |
|
|
this[heightName] = '' |
|
|
|
|
|
|
|
|
this[heightName] = `calc(100vh - 344px)` |
|
|
} else { |
|
|
} else { |
|
|
const h = '100vh' |
|
|
const h = '100vh' |
|
|
this[heightName] = `calc(${h} - 434px)` |
|
|
|
|
|
|
|
|
// this[heightName] = `calc(${h} - 434px)`
|
|
|
|
|
|
this[heightName] = `calc(${h} - 344px)` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (name === 'anjuanData' || name === 'junneiData') { |
|
|
if (name === 'anjuanData' || name === 'junneiData') { |
|
|
|