→ chihlee5566: Postman測試有東西嗎? 06/06 09:12
→ supercygnus: 有東西 06/06 09:47
→ Kenqr: tmp的值是正確的嗎? $http是非同步操作 你是在哪讀取r的值? 06/06 10:17
→ supercygnus: Tmp的值是正確的,我有印出來看過,我是想在function 06/06 13:57
→ supercygnus: 外面用tmp 06/06 13:57
→ supercygnus: 但是卻沒辦法把tmp 的值往外送,r=tmp是無效的,最 06/06 13:59
→ supercygnus: 候r是undefined 06/06 13:59
→ dannypsnl: 因為那是非同步的,你的r在r=tmp之前就被印出來了,當 06/06 14:42
→ dannypsnl: 然是undefined 06/06 14:42
→ supercygnus: 是喔,那要怎麼變同步? 06/06 16:02
→ supercygnus: 04757.html 06/06 16:18