修正了一部分问题
This commit is contained in:
parent
4d28b402c5
commit
c612e92b60
@ -630,6 +630,7 @@ export async function editsystemsetting(e?: any): Promise<boolean> {
|
||||
const res = await put(`member/${store.state.userinfo.memberid}`,newdata);
|
||||
console.log(res)
|
||||
if(res.code == 0){
|
||||
location.reload();
|
||||
message.success("修改成功")
|
||||
store.dispatch("setUserInfo");
|
||||
return true;
|
||||
|
@ -23,7 +23,7 @@
|
||||
<!-- 时区 -->
|
||||
<a-menu-item v-for="(i,j) in zonelist" :key="j" @click="zonechange(i.zoneid)" style="position: relative;">
|
||||
<div class="selitem">
|
||||
<span>{{i.city}}{{i.gmt}}</span>
|
||||
<span :style="{'color': i.zoneid == userinfo.zoneid ? '#06C7AE' : ''}">{{i.city}}{{i.gmt}}</span>
|
||||
<img src="@/static/images/duihao.png" alt="" v-if="i.zoneid == userinfo.zoneid" class="duihao">
|
||||
</div>
|
||||
</a-menu-item>
|
||||
@ -80,7 +80,7 @@
|
||||
<!-- 语言 -->
|
||||
<a-menu-item v-for="(i,j) in languagelist" :key="j" style="position: relative;">
|
||||
<div class="selitem" @click="setlanguage(i.value)">
|
||||
<span>{{i.name}}</span>
|
||||
<span :style="{'color': i.name == userinfo.language ? '#06C7AE' : ''}">{{i.name}}</span>
|
||||
<img src="@/static/images/duihao.png" alt="" v-if="i.name == userinfo.language" class="duihao">
|
||||
</div>
|
||||
</a-menu-item>
|
||||
|
Loading…
Reference in New Issue
Block a user