|
@@ -197,8 +197,8 @@ function getVersion() {
|
|
|
}
|
|
|
function getDisclaimer() {
|
|
|
return post(config.disclaimer, {}).then((res) => {
|
|
|
- const data = res.data.data.find(item => item.disclaimerCode == "2");
|
|
|
- $(".responsibility").html(data.description);
|
|
|
+ const data = res.data.data.filter(item => item.disclaimerCode == "2");
|
|
|
+ $(".responsibility").html((data[0] || {}).description);
|
|
|
// $(".iframeWrap").css({height: $(window).height()-115-$(".responsibility").height()+"px"})
|
|
|
|
|
|
})
|