页面调整
This commit is contained in:
@@ -3,6 +3,8 @@ import {RootState} from '../index'
|
||||
import { Https } from "@/tool/https";
|
||||
import { setLang } from "@/tool/guide";
|
||||
import { setCookie } from "@/tool/cookie";
|
||||
import { useI18n } from "vue-i18n";
|
||||
|
||||
import store from '../index'
|
||||
interface UserHabit{
|
||||
clothingType:any,
|
||||
@@ -266,7 +268,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
if(data.systemUser != 0)state.userDetail.systemList.push(1)
|
||||
if(data.affiliate)state.userDetail.systemList.push(2)
|
||||
|
||||
let adminIdList = [88,6,46,31,73,83,87,4,11482,11630,12201,12592,23534]
|
||||
let adminIdList = [88,6,46,31,73,83,87,4,11482,11630,12201,12592,23534,23705]
|
||||
// if(data.email == '' || data.email)state.userDetail.systemList.push(3)
|
||||
if(adminIdList.indexOf(data.userId) > -1 || data.systemUser == 6 || data.systemUser == 7){
|
||||
state.userDetail.systemList.push(3)
|
||||
@@ -389,7 +391,8 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
item.value = item.name
|
||||
item.name = name
|
||||
});
|
||||
rv.unshift({name:'All',value:'',id:''})
|
||||
const {t} = useI18n()
|
||||
rv.unshift({name:t('Model.all'),value:'',id:''})
|
||||
store.commit('setMannequinStyle',rv)
|
||||
resolve('')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user