|
@@ -298,7 +298,6 @@ export default {
|
|
}
|
|
}
|
|
this.$refs.editor.setHtml(res.data.description)
|
|
this.$refs.editor.setHtml(res.data.description)
|
|
this.$refs.otherDesc.setHtml(res.data.otherDesc)
|
|
this.$refs.otherDesc.setHtml(res.data.otherDesc)
|
|
- console.log(this.form.productPicList, '----productPicList')
|
|
|
|
} else {
|
|
} else {
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
}
|
|
}
|
|
@@ -316,7 +315,6 @@ export default {
|
|
if (valid) {
|
|
if (valid) {
|
|
const form = JSON.parse(JSON.stringify(_this.form))
|
|
const form = JSON.parse(JSON.stringify(_this.form))
|
|
form.id = _this.$route.params.id ? _this.$route.params.id : undefined
|
|
form.id = _this.$route.params.id ? _this.$route.params.id : undefined
|
|
- console.log(form, '------form')
|
|
|
|
form.productPicList = []
|
|
form.productPicList = []
|
|
if (form.productMsg) {
|
|
if (form.productMsg) {
|
|
const arr = form.productMsg.split(',')
|
|
const arr = form.productMsg.split(',')
|