增加品牌馆滚动条
This commit is contained in:
@@ -689,7 +689,7 @@ export default {
|
||||
type: 'success'
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$router.push({ path: '/activity/seckill' });
|
||||
this.$router.push({ path: '/bxg/activity/seckill' });
|
||||
}, 500);
|
||||
}).catch(res => {
|
||||
this.$message.error(res.msg);
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form ref="form" :model="form" :rules="rules" size="small" label-width="150px">
|
||||
<el-form-item label="品牌馆滚动条标题">
|
||||
<el-input v-model="form.brandIndex.title" style="width: 370px;" maxlength="4" show-word-limit />
|
||||
</el-form-item>
|
||||
<el-form-item label="品牌馆滚动条内容">
|
||||
<el-input v-model="form.brandIndex.info" style="width: 370px;" />
|
||||
</el-form-item>
|
||||
<el-form-item label="关于我们">
|
||||
<!-- <el-input v-model="form.site_url" style="width: 370px;" />-->
|
||||
<vue-ueditor-wrap v-model="form.aboutUs" :config="myConfig" @beforeInit="addCustomDialog" style="width: 90%;"></vue-ueditor-wrap>
|
||||
@@ -34,6 +40,10 @@ export default {
|
||||
delLoading: false,
|
||||
form: {
|
||||
aboutUs:'',
|
||||
brandIndex:{
|
||||
title:'',
|
||||
info:''
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
}
|
||||
@@ -48,6 +58,10 @@ export default {
|
||||
if(keyName in that.form){
|
||||
that.form[keyName] = newValue
|
||||
}
|
||||
// console.log('that.form.brandIndex',typeof (that.form.brandIndex),that.form.brandIndex)
|
||||
if (typeof (that.form.brandIndex)=="string"){
|
||||
that.form.brandIndex=JSON.parse(that.form.brandIndex)
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user