只在平板模式下语言为英语时更改ui适配

This commit is contained in:
shefengchun 2023-03-01 15:18:07 +08:00
parent 2c498c05f0
commit 0a5f561bd6
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ export default defineComponent({
};
const is_pad_style=computed(()=>{
let url=window.location.href
if(url.indexOf("pad")!=-1){
if(url.indexOf("pad")!=-1&&$t.locale.value=="en-US"){
return ""
}
return "60vw"