状态切换语言问题
This commit is contained in:
+3
-2
@@ -237,8 +237,9 @@ document.querySelectorAll('.statusbtn > div').forEach(btn => {
|
|||||||
if(status=='all'){
|
if(status=='all'){
|
||||||
status = ''
|
status = ''
|
||||||
}
|
}
|
||||||
Vehiclefn(this.currentLang,status)
|
var currentLang = localStorage.getItem('lang')|| 'en';
|
||||||
locationfn(this.currentLang,status)
|
Vehiclefn(currentLang,status)
|
||||||
|
locationfn(currentLang,status)
|
||||||
// console.log(status)
|
// console.log(status)
|
||||||
// // 获取当前状态
|
// // 获取当前状态
|
||||||
// const status = this.className.split(' ')[0]; // 获取按钮的类名(statusall, status1, status2 等)
|
// const status = this.className.split(' ')[0]; // 获取按钮的类名(statusall, status1, status2 等)
|
||||||
|
|||||||
Reference in New Issue
Block a user