Commit bee10896 authored by nature's avatar nature

组建优化

parent ae2f265a
/** /**
* *
* @param fmt * @param fmt yyyy-MM-dd hh:mm:ss
* @returns {*} * @returns {*}
* @constructor * @constructor
*/ */
Date.prototype.format = function (fmt) { // eslint-disable-line Date.prototype.format = function (fmt = 'yyyy-MM-dd') { // eslint-disable-line
var o = { var o = {
'M+': this.getMonth() + 1, // 月份 'M+': this.getMonth() + 1, // 月份
'd+': this.getDate(), // 日 'd+': this.getDate(), // 日
......
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
this.orientation = 'portrait' this.orientation = 'portrait'
} }
let content = vm.$el let content = vm.$el
content.style.height = windowHeight - headerHeight + nextHeight + 'px' content.style.height = windowHeight - headerHeight - nextHeight + 'px'
}) })
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment