From fbb97eb214a80a7e6d135cf82fe8f7c9ba1bbad1 Mon Sep 17 00:00:00 2001 From: wangxy Date: Thu, 24 Jun 2021 17:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Field.vue | 2 +- src/views/Home.vue | 23 +++-------------------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/src/views/Field.vue b/src/views/Field.vue index a9cf93b..fc1b17b 100644 --- a/src/views/Field.vue +++ b/src/views/Field.vue @@ -233,7 +233,7 @@ }, /** 删除按钮操作 */ handleDelete(row) { - this.$confirm('是否确认删除"' + row['Uom-UomId'] + '"的数据项?', '警告', { + this.$confirm('是否确认删除"' + row['TabColName-TabName'] + '"的数据项?', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' diff --git a/src/views/Home.vue b/src/views/Home.vue index bcf9606..409ffdf 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -40,19 +40,6 @@ v-model:pagination="pagination" @pagination="getList" /> - - 这是一段信息 - - @@ -68,15 +55,12 @@ export default { ContentContainer, }, data() { - return { - dialogVisible: false, - // 总条数 - + return { // 查询参数 pagination: { pageNumber: 1, pageSize: 10, - total: 100, + total: 100, }, tableData: [ { @@ -158,8 +142,7 @@ export default { }, consoleSolt() { - console.log("可以正常输出内容"); - this.dialogVisible = true + console.log("可以正常输出内容") }, handleClick(row) { console.log(row);