From 6f0400dec4c1719f365c965545546f636be21336 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 6 Nov 2023 09:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/satisfaction/satisfactionProvince/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/modules/satisfaction/satisfactionProvince/index.vue b/src/views/modules/satisfaction/satisfactionProvince/index.vue index 19bbd1f2b..396917f90 100644 --- a/src/views/modules/satisfaction/satisfactionProvince/index.vue +++ b/src/views/modules/satisfaction/satisfactionProvince/index.vue @@ -351,8 +351,7 @@ export default { this.initEcharts(); } await this.getDicts(); - await this.getTableData(this.user.level); - console.log(this.user.level); + await this.getTableData(); }, methods: { // --------------------------------------字典------------------------------------------ @@ -441,8 +440,8 @@ export default { this.getTableData(); }, // 获取列表 - async getTableData(level) { - if (level != "street") { + async getTableData() { + if (this.user.level != "street") { const allowedCategories = this.dicts.satisfaction_category.map( (item) => item.value );