Commit ce5d6564 authored by zhengke's avatar zhengke

修改

parent 8024beb7
......@@ -383,9 +383,9 @@
<el-option v-for="item in cityList2" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</el-form-item>
<el-form-item label="攻略内容" prop="lotteryRules">
<quill-editor class="w595" :options="editorOption" v-model="addMsg.Content"></quill-editor>
<my-edit class="w595" style="margin-top:-30px;" v-bind:editValue="addMsg.Content" v-on:edit-value="addMsg.Content = arguments[0]" v-bind:toolbarShow="toolbar"
v-bind:referenceList="DefaultList" v-bind:placeholder="placeholder"></my-edit>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
......@@ -398,7 +398,11 @@
</div>
</template>
<script>
import MyEdit from "../EditTemplate.vue";
export default {
components: {
"my-edit": MyEdit,
},
data() {
return {
DataList: "",
......@@ -409,7 +413,14 @@
countryList: [],
provinceList: [],
cityList: [],
placeholder: "请输入",
DefaultList: [],
toolbar: {
clean: false, //加粗
font: false, //字体
narrative: false, //叙述,
image: true
},
provinceList2: [],
cityList2: [],
msg: {
......@@ -432,14 +443,6 @@
ProviceId: 0,
CityId: 0
},
editorOption: {
modules: {
toolbar: [
['bold', 'italic', 'underline', 'strike','image'], // toggled buttons
['blockquote', 'code-block', 'align']
]
}
},
rules: {
Name: [{
required: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment