Commit 3352547b by 田爽

应用案例保存参数

parent a90cfb66
......@@ -16,25 +16,25 @@
<el-input
v-model="dataForm.title"
placeholder="请输入标题"
></el-input>
</el-form-item>
<el-form-item label="作者" prop="author">
<el-input
v-model="dataForm.author"
placeholder="请输入作者"
></el-input>
</el-form-item>
<el-form-item label="跳转地址" prop="directpath">
<el-input
v-model="dataForm.directpath"
placeholder="请输入跳转地址"
></el-input>
</el-form-item>
<el-form-item label="级别:" prop="levels">
<el-select
......@@ -49,7 +49,7 @@
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="显示时间:" prop="showTime">
<el-date-picker
......@@ -59,7 +59,7 @@
placeholder="请选择显示时间"
>
</el-date-picker>
</el-form-item>
<el-form-item label="内容" prop="content">
<Ueditor
......@@ -69,7 +69,7 @@
ref="ue"
></Ueditor>
<!-- <el-input v-model="dataForm.content" placeholder="请输入内容"></el-input> -->
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer" v-show="!showInfo">
......@@ -176,7 +176,8 @@ export default {
showTime: this.dataForm.showTime,
directpath: this.dataForm.directpath,
// pic: this.dataForm.pic,
content: this.dataForm.content
content: this.dataForm.content,
status: 0
})
}).then(({ data }) => {
this.loading = false
......@@ -275,4 +276,4 @@ export default {
.edui-editor{
width: 100%;
} */
</style>
\ No newline at end of file
</style>
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