From 2d7d567628db60e6392650c3cf6fc0a97a3790b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8E=89=E5=9D=A1?= Date: Sun, 26 May 2019 12:40:17 +0800 Subject: [PATCH] =?UTF-8?q?F=20-=20=E6=9D=83=E9=99=90-=E5=8F=91=E5=B8=83?= =?UTF-8?q?=20=20-=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=88=86=E9=85=8D=E6=9D=83=E9=99=90=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=8F=91=E5=B8=83=E4=B8=8D=E8=83=BD=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E9=80=9A=E7=9F=A5=E6=96=B9=E5=BC=8F=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/components/account/Permission.vue | 4 ++-- spug_web/src/components/account/TagTd.vue | 12 ++++++------ spug_web/src/components/publish/App.vue | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spug_web/src/components/account/Permission.vue b/spug_web/src/components/account/Permission.vue index 5801b4f..786953e 100644 --- a/spug_web/src/components/account/Permission.vue +++ b/spug_web/src/components/account/Permission.vue @@ -244,7 +244,7 @@ fetch() { this.loading = true; this.$http.get(`/api/account/roles/${this.role.id}/permissions`).then(res => { - this.codes = res.result + this.codes = res.result; }, res => this.$layer_message(res.result)).finally(() => this.loading = false) }, saveCommit() { @@ -264,4 +264,4 @@ this.fetch() } } - \ No newline at end of file + diff --git a/spug_web/src/components/account/TagTd.vue b/spug_web/src/components/account/TagTd.vue index 7954c46..414f621 100644 --- a/spug_web/src/components/account/TagTd.vue +++ b/spug_web/src/components/account/TagTd.vue @@ -1,5 +1,5 @@ \ No newline at end of file + diff --git a/spug_web/src/components/publish/App.vue b/spug_web/src/components/publish/App.vue index 94ef93c..903310e 100644 --- a/spug_web/src/components/publish/App.vue +++ b/spug_web/src/components/publish/App.vue @@ -162,7 +162,6 @@ let [action, index] = command.split(' '); this.form = this.$deepCopy(this.tableData[index]); if (action === 'edit') { - if (this.images.length === 0) this.fetchImages(); this.dialogAddVisible = true; this.fetchNotifyWay(); @@ -200,6 +199,7 @@ // this.$router.push({name: 'app_add'}) this.form = this.init_form(); this.dialogAddVisible = true; + this.fetchNotifyWay(); if (this.images.length === 0) this.fetchImages() }, addGroup() { @@ -220,4 +220,4 @@ this.fetch(true) } } - \ No newline at end of file +