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