關(guān)于{{index}}報錯的問題原因: Uncaught TypeError: Cannot call method 'replace' of undefined 首先出現(xiàn)這個問題,說明調(diào)用replace的這個對象可能是個空或undefined 我的錯誤原因是因為g(".wrap"),因為getElementsByClassName其實返回的是一個數(shù)組!切記
2017-05-29
最新回答 / qq_水士口_0
可以不刪啊? ?但是下面要加一個判斷? ?如果本身樣式中沒有?photo_front 的話? ? 要給它加上去? ? 你旋轉(zhuǎn)到背面的時候? ?樣式表上是沒有?photo_front 這個樣式的
2017-05-23