|
|
|
@ -657,8 +657,8 @@ submittojoinclass=(value)=>{
|
|
|
|
|
console.log("开始刷新数据了")
|
|
|
|
|
let url = "/setting.json";
|
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
|
console.log("axios.get");
|
|
|
|
|
console.log(response);
|
|
|
|
|
// console.log("axios.get");
|
|
|
|
|
// console.log(response);
|
|
|
|
|
|
|
|
|
|
if(response){
|
|
|
|
|
if(response.data){
|
|
|
|
@ -670,7 +670,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
oldLink = document.getElementById('dynamic-favicon');
|
|
|
|
|
link.id = 'dynamic-favicon';
|
|
|
|
|
link.rel = 'shortcut icon';
|
|
|
|
|
link.href = response.data.setting.tab_logo_url;
|
|
|
|
|
link.href = '/'+response.data.setting.tab_logo_url;
|
|
|
|
|
if (oldLink) {
|
|
|
|
|
document.head.removeChild(oldLink);
|
|
|
|
|
}
|
|
|
|
|