表单样式修改

qianlishi 3 years ago
parent 02df70868a
commit a022f84160

@ -1,6 +1,6 @@
<template>
<div>
<el-form label-width="80px" label-position="left">
<el-form label-width="100px" label-position="left">
<el-form-item label="数据集">
<el-select
size="mini"

@ -6,7 +6,7 @@
!-->
<template>
<div class="collapse-input-style">
<el-form label-width="80px" label-position="left">
<el-form label-width="100px" label-position="left">
<template v-for="(item, index) in options">
<div v-if="isShowForm(item, '[object Object]')" :key="index">
<el-form-item
@ -123,13 +123,15 @@
<!-- :options="optionsJavascript"-->
<!-- style="height: 190px"-->
<!-- />-->
<vue-json-editor v-model="formData[item.name]"
<vue-json-editor
v-model="formData[item.name]"
:show-btns="false"
:mode="'code'"
lang="zh"
class="my-editor"
@json-change="onJsonChange"
@json-save="onJsonSave" />
@json-save="onJsonSave"
/>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleStaticData = false"
> </el-button
@ -263,7 +265,7 @@
<script>
import ColorPicker from "./colorPicker.vue";
import vueJsonEditor from 'vue-json-editor'
import vueJsonEditor from "vue-json-editor";
import "codemirror/lib/codemirror.css"; //
import "codemirror/theme/cobalt.css"; // options
// language

Loading…
Cancel
Save