When you chrome developers,debug, you find that the variable has a value, but it shows undefined?.

the following problems were found during debug in the chrome devtools developer"s tool;
Why did the console show that undefined;
128lines have all been taken from the values of result,cityId, but you can see that there are values inside params

clipboard.png

chrome browser version: version 66.0.3359.139 (official version) (64-bit)

Mar.10,2021

your screenshot code has not yet been executed to assign a value to {cityId,userId,username}

Menu