jc1.0
fanluyan 12 months ago
parent 5e9c276ac9
commit bbbed2ca6c

@ -4,7 +4,7 @@
class="AddDialogBox" class="AddDialogBox"
:title="title" :title="title"
:visible.sync="configDialogshow" :visible.sync="configDialogshow"
width="520px" width="560px"
:close-on-click-modal="false" :close-on-click-modal="false"
> >
<div class="configInfo"> <div class="configInfo">
@ -37,8 +37,8 @@
<span>导出样例</span> <span>导出样例</span>
<pre><code class="xml">{{ prewData }}</code></pre> <pre><code class="xml">{{ prewData }}</code></pre>
</div> </div>
<div class="warnmsg"> <div class="warnmsg" v-if="warnMsg">
<el-tag type="warning" v-if="warnMsg !== ''">{{ warnMsg }}</el-tag> <el-tag type="warning">{{ warnMsg }}</el-tag>
</div> </div>
</div> </div>
</div> </div>
@ -136,6 +136,7 @@ export default {
console.log(res); console.log(res);
this.prewData = res.data; this.prewData = res.data;
this.warnMsg = res.warnMsg; this.warnMsg = res.warnMsg;
console.log(this.warnMsg);
this.warnLoading = false; this.warnLoading = false;
}) })
.catch((err) => { .catch((err) => {
@ -176,10 +177,10 @@ export default {
} }
.configInfo { .configInfo {
.prewInfo { .prewInfo {
height: 300px; //height: 300px;
.prewclass { .prewclass {
pre { pre {
height: 230px; max-height: 348px;
overflow: auto; overflow: auto;
} }
} }

Loading…
Cancel
Save