| 123456789101112131415161718192021222324252627282930313233343536373839 | toastr.options = {    "closeButton": true,    "positionClass": "toast-top-center"}function showSuccessMessage(msg) {    toastr.success(msg)}function showErrorMessage(msg) {    toastr.error(msg)}function showWarningMessage(msg) {    toastr.warning(msg)}$(function(){    var height = window.innerHeight;    console.log(height);    $("#tab").css("height", height+"px");    $("#main").css("height", height+"px");})new Vue({  el: '#wrapper',  data: {      },  created: function() {  	homeAPI.baseinfo().then(function(res) {  		if(res.status == 200) {  			var infoStr = JSON.stringify(res.data);  			localStorage.setItem("docInfo", infoStr);  		}  	})  }})
 |