|
|
@ -201,8 +201,8 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
axios.get(url, {
|
|
|
|
axios.get(url, {
|
|
|
|
|
|
|
|
|
|
|
|
}).then((response) => {
|
|
|
|
}).then((response) => {
|
|
|
|
console.log("开始请求/get_navigation_info.json");
|
|
|
|
// console.log("开始请求/get_navigation_info.json");
|
|
|
|
console.log(response);
|
|
|
|
// console.log(response);
|
|
|
|
if(response!=undefined){
|
|
|
|
if(response!=undefined){
|
|
|
|
if(response.status===200){
|
|
|
|
if(response.status===200){
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -288,8 +288,8 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
getAppdata=()=>{
|
|
|
|
getAppdata=()=>{
|
|
|
|
let url = "/setting.json";
|
|
|
|
let url = "/setting.json";
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
console.log("app.js开始请求/setting.json");
|
|
|
|
// console.log("app.js开始请求/setting.json");
|
|
|
|
console.log("获取当前定制信息");
|
|
|
|
// console.log("获取当前定制信息");
|
|
|
|
if(response){
|
|
|
|
if(response){
|
|
|
|
if(response.data){
|
|
|
|
if(response.data){
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|