bug
This commit is contained in:
@@ -158,7 +158,7 @@ export default {
|
|||||||
|
|
||||||
chooseWechat (id) {
|
chooseWechat (id) {
|
||||||
this.form.userId = id
|
this.form.userId = id
|
||||||
this.instance.post(`/sysuserwxmp/list?size=1000&userId=${id}`).then(res => {
|
this.instance.post(`/api/sysuserwxmp/list?size=1000&userId=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.form.appids = res.data.records.map(v => v.appId)
|
this.form.appids = res.data.records.map(v => v.appId)
|
||||||
}
|
}
|
||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
onConfirm () {
|
onConfirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/sysuserwxmp/addOrUpdate`, {
|
this.instance.post(`/api/sysuserwxmp/addOrUpdate`, {
|
||||||
...this.form
|
...this.form
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user