1,文本顯示json格式的

要用<pre></pre>標簽
2,輸入框里回顯json格式的數(shù)據(jù)

?str =?JSON.stringify(
? ? ? ? ? this.dataAPI.responseParams,? ?//json格式
??????????null,? ? ? ? //用于轉(zhuǎn)換結(jié)果的函數(shù)或數(shù)組
??????????4? ? ? //縮進
????????);
1,文本顯示json格式的
要用<pre></pre>標簽
2,輸入框里回顯json格式的數(shù)據(jù)
?str =?JSON.stringify(
? ? ? ? ? this.dataAPI.responseParams,? ?//json格式
??????????null,? ? ? ? //用于轉(zhuǎn)換結(jié)果的函數(shù)或數(shù)組
??????????4? ? ? //縮進
????????);