手机随时阅读
新人专享大礼包¥24
/** * 获取当前时间 * 格式YYYY-MM-DD */Vue.prototype.getNowFormatDate = function() { var date = new Date(); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth() + 1; var strDat
/** * 获取屏幕宽高 */Vue.prototype.getViewportSize = function(){ return { width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, height: window.innerHeight ||
Copyright © 2005-2022 51CTO.COM 版权所有 京ICP证060544号