liuchengxin
2022-01-07 f8e7dc84f30df6dbac5d32ce84a85c7d804f0f9d
src/views/system/dict/index.vue
@@ -146,6 +146,7 @@
            size="mini"
            type="text"
            icon="el-icon-delete"
            class="del-btn"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:dict:remove']"
          >删除</el-button>
@@ -326,7 +327,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const dictIds = row.dictId || this.ids;
      this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delType(dictIds);
      }).then(() => {
        this.getList();