坑一:vm2507:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2507:2 syntaxerror: invalid or unexpected token
(anonymous) @ vm2507:2
vm2509:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2509:2 webviewscripterror
invalid or unexpected token
syntaxerror: invalid or unexpected token
(anonymous) @ vm2509:2
vm2510:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2510:2 uncaught syntaxerror: invalid or unexpected token
(anonymous) @ vm2510:2
vm2511:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2512:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2512:2 webviewscripterror
$gwx is not defined
referenceerror: $gwx is not defined
at (anonymous) @ vm2512:2
vm2513:1 sat feb 04 2017 21:46:27 gmt+0800 (中國標準時間) 渲染層錯誤
vm2513:2 uncaught referenceerror: $gwx is not defined
出現 $gwx is not defined
提示報錯位置 at
這個報錯位置提示沒有任何意義,因為index.whtml我好幾天沒有動過了;
這個錯誤後來發現 在剛改過的whtml 頁面 想寫"¥}/時 " 結果寫成了"$}/時" , 將 ¥ 寫成了$;
坑二
function request(param) ,
method:'post',/***注意post必須大寫 */
data:param.data==undefined ? "":param.data,
success: function( res )
},fail: function( res ) }}
}/**
console.log( obj.url)
console.log(json.stringify(obj.data) );
*/wx.request(obj);
}
微信小程式部署踩坑
注意 進入這個 勾選這兩個,將apache下的 2 todo.pibigstar.com.crt 放到 第乙個文字域裡面,3 todo.pibigstar.com.key放到 第二個文字域裡面 你勾選之後,文字域就會出來了 1.對應的伺服器證書無效。控制台輸入 showrequestinfo 可以獲...
微信小程式踩坑記
img v weui uploader bd style width 750rpx height 400rpx background color pink 以下為無效樣式 2.image影象寬高設定失敗,原因是在wxml中通過style屬性直接設定是無效的,需要通過class命名然後在wxss中進行...
踩坑 微信小程式block問題
前言 解決辦法 通過真機除錯,找到問題,原來是的寬度沒有設定為100 設定100 後又執行除錯還是不行。細心地我檢視wxml裡的 注意到乙個細節,就是我imgage外層block標籤沒有渲染。這時我才知道問題的真正所在。問題出在block身上。於是我把block的樣式刪掉,這樣繼承的就是最外層的盒子...