2017年4月7日 星期五

設定div 高度為最大可用高度

.directive('grid', function () {
        return {
            link: function (scope, elem, attrs) {
                $(elem).height($(window).height() - $(elem).offset().top);
            }
        };
    })

批次檔正確處理中文

1. 確定檔案編碼為 UTF-8 2. 開頭先執行 chcp 65001