最近畢設遇到的坑

2021-08-19 23:24:24 字數 488 閱讀 3563

cnpm i node-sass -g

2、webpack後報錯 module build failed: error: cannot find module 『node-sass』

說明還要安裝sass到專案中,執行下面的命令

cnpm install node-sass@latest

3、get提交中文資料亂碼的問題,感覺最好的辦法就是改tomcat的配置了

usebodyencodingforuri="true"/>新增uriencoding=」utf-8」 usebodyencodingforuri=」true」這一句。

寫畢設遇到的sql問題

用的是idea內建的h2資料庫。問題1 判斷是否為空應該用is null,而不是 null。select count from data where disturb time is null or error code num is null or ciphertext notice time is...

畢設 微信商城遇到的問題(2018 4 7)

2018 4 7 1.問題 commerciallist 109 uncaught typeerror cannot read property pro id of undefined 解析 如果是在for迴圈下出現的這種問題,那麼就是要考慮訪問陣列是不是越界了的問題。參考寫js報錯 cannot ...

關於最近遇到的坑 if queryset

背景 在python語法中,if obj是一種很簡潔優雅的語法糖,可以用來判斷字串是否為空,某個引數是否為none,列表是否為空。所以,在面對queryset物件時便毫不猶豫的用if queryset來做判斷,導致了效能問題。class pagenumberpaginator pagenumberp...