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

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

Loading…
Cancel
Save