|
@@ -2,7 +2,7 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-11-01 18:02:58
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-12-03 21:22:43
|
|
|
+ * @LastEditTime : 2021-12-04 16:08:24
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\table.vue
|
|
|
-->
|
|
|
<template>
|
|
@@ -34,6 +34,9 @@
|
|
|
{{ !scope.row[`${props}_${type}`] ? "编辑" : "完成" }}
|
|
|
</el-button>
|
|
|
</div>
|
|
|
+ <div v-else-if="type === 'textarea'">
|
|
|
+ <pre>{{ scope.row[props] }}</pre>
|
|
|
+ </div>
|
|
|
<div v-else>{{ scope.row[props] }}</div>
|
|
|
</template>
|
|
|
<template v-if="children">
|