mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
所有页面res.code替换为res.success
This commit is contained in:
@@ -430,7 +430,7 @@ export default {
|
||||
content: "<p>确认禁用此会员?</p>",
|
||||
onOk: () => {
|
||||
API_Member.updateMemberStatus(params).then((res) => {
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success("禁用成功");
|
||||
this.getData();
|
||||
} else {
|
||||
|
||||
@@ -421,7 +421,7 @@
|
||||
content: '<p>确认禁用此会员?</p>',
|
||||
onOk: () => {
|
||||
API_Member.updateMemberStatus(params).then(res => {
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success('禁用成功');
|
||||
this.getData()
|
||||
} else {
|
||||
@@ -446,7 +446,7 @@
|
||||
content: '<p>启用用此会员?</p>',
|
||||
onOk: () => {
|
||||
API_Member.updateMemberStatus(params).then(res => {
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success('禁用成功');
|
||||
this.getData()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user