dist
This commit is contained in:
@@ -456,7 +456,7 @@ export async function editpassword(data?: any): Promise<any> {
|
||||
console.log(newdata)
|
||||
const res = await put<Liveaddrule>('/member/' + data.memberid,newdata)
|
||||
if(res.code==0){
|
||||
message.success("修改成功")
|
||||
message.success(res.msg)
|
||||
return false
|
||||
|
||||
|
||||
@@ -831,7 +831,11 @@ export async function putmember(data: any): Promise<any>{
|
||||
}
|
||||
console.log(newdata)
|
||||
const res = await put<Liveaddrule>(`member/${store.state.userinfo.memberid}`, newdata)
|
||||
|
||||
if(res.code == 0){
|
||||
message.success(res.msg)
|
||||
}else {
|
||||
message.error(res.msg)
|
||||
}
|
||||
store.dispatch("setUserInfo");
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -183,6 +183,7 @@ import axios from 'axios'
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
import { setLanvuage } from '@/api/base';
|
||||
import { saveValue } from '@/utils/common';
|
||||
import { message } from 'ant-design-vue';
|
||||
|
||||
export default defineComponent({
|
||||
props:{
|
||||
@@ -261,6 +262,7 @@ export default defineComponent({
|
||||
|
||||
function navto(index: number | string){
|
||||
if(!store.state.islogin){
|
||||
message.error(lan.$s() == "zh" ? "登录后即可查看" : 'After logging in, you can view it')
|
||||
return ;
|
||||
}
|
||||
if(typeof index == "number"){
|
||||
|
||||
Reference in New Issue
Block a user