Browse Source

detail转义

noToken
安虹睿 1 year ago
parent
commit
e33d222247
  1. 7
      PC/InterFace.Dash/.gitignore
  2. 5
      PC/InterFace.Dash/src/components/umyTable/index.vue

7
PC/InterFace.Dash/.gitignore

@ -5,6 +5,13 @@
/SqlData/Faster.Zheng.Winin.mdf
/SqlData/Faster.Zheng.Winin_log.ldf
# vuepress build output
.vuepress/dist
# Nuxt.js build / generate output
.nuxt
dist
# Dependency directories
node_modules/
jspm_packages/

5
PC/InterFace.Dash/src/components/umyTable/index.vue

@ -368,8 +368,9 @@
label="值"
>
<template slot-scope="scope">
{{ scope.row.name }}
<!-- DETAILS todo:DETAILS判断条件需要优化使用传参的方式 -->
<span v-if="(scope.row.name).toUpperCase != 'DETAILS'">{{scope.row.value}}</span>
<span v-if="(scope.row.name).toUpperCase() != 'DETAILS'">{{scope.row.value}}</span>
<el-table
v-else
height="300"
@ -795,7 +796,7 @@ export default {
//
if(Array.isArray(_json[item])){
// DETAILS todo:DETAILS使
let _value = (item).toUpperCase == 'DETAILS' ? __initJson(_json[item][0]) : (_json[item]).join(",")
let _value = (item).toUpperCase() == 'DETAILS' ? __initJson(_json[item][0]) : (_json[item]).join(",")
_arr.push({name:item,value:_value})
}
//

Loading…
Cancel
Save