From d0bc24aa385535a38b9cbb9e704b0b9b4c649651 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期一, 03 六月 2024 11:01:05 +0800
Subject: [PATCH] 1
---
src/components/scTable/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/components/scTable/index.vue b/src/components/scTable/index.vue
index 737b797..6416bf1 100644
--- a/src/components/scTable/index.vue
+++ b/src/components/scTable/index.vue
@@ -4,16 +4,16 @@
* @Author: sakuya
* @Date: 2021骞�11鏈�29鏃�21:51:15
* @LastEditors: Sneed
- * @LastEditTime: 2024-05-12 13:00:03
+ * @LastEditTime: 2024-05-12 13:35:21
-->
<template>
<div class="scTable" :style="{ 'height': _height }" ref="scTableMain" v-loading="loading">
<div class="scTable-table" :style="{ 'height': _table_height }">
<el-table v-bind="$attrs" :data="tableData" :row-key="rowKey" :key="toggleIndex" ref="scTable"
- :height="height == 'auto' ? null : '100%'" :size="config.size" :border="config.border" :stripe="config.stripe"
- :summary-method="remoteSummary ? remoteSummaryMethod : summaryMethod" @sort-change="sortChange"
- @filter-change="filterChange">
+ :height="height == 'auto' ? null : '100%'" :size="config.size" :border="config.border"
+ :stripe="config.stripe" :summary-method="remoteSummary ? remoteSummaryMethod : summaryMethod"
+ @sort-change="sortChange" @filter-change="filterChange">
<slot></slot>
<template v-for="(item, index) in userColumn" :key="index">
<el-table-column v-if="!item.hide" :column-key="item.prop" :label="item.label" :prop="item.prop"
@@ -200,7 +200,7 @@
var res = await this.apiObj.get(reqData);
} catch (error) {
this.loading = false;
- this.emptyText = error.statusText;
+ this.emptyText = error?.statusText;
return false;
}
try {
--
Gitblit v1.9.3