n20-common-lib 2.2.35 → 2.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<slot slot="header" slot-scope="scope" name="time-header" :column="scope.column">{{ '上传时间' | $lc }}</slot>
|
|
105
105
|
<slot slot-scope="{ row }" name="time" :row="row">{{ row[keys.time] }}</slot>
|
|
106
106
|
</el-table-column>
|
|
107
|
-
<el-table-column :label="'上传人' | $lc" :prop="keys.user">
|
|
107
|
+
<el-table-column v-if="!hideUser" :label="'上传人' | $lc" :prop="keys.user">
|
|
108
108
|
<slot slot="header" slot-scope="scope" name="user-header" :column="scope.column">{{ '上传人' | $lc }}</slot>
|
|
109
109
|
<slot slot-scope="{ row }" name="user" :row="row">{{ row[keys.user] }}</slot>
|
|
110
110
|
</el-table-column>
|
|
@@ -320,6 +320,10 @@ export default {
|
|
|
320
320
|
getFileMethod: {
|
|
321
321
|
type: Function,
|
|
322
322
|
default: undefined
|
|
323
|
+
},
|
|
324
|
+
hideUser: {
|
|
325
|
+
type: Boolean,
|
|
326
|
+
default: false
|
|
323
327
|
}
|
|
324
328
|
},
|
|
325
329
|
data() {
|