|
@@ -228,10 +228,12 @@ export default {
|
|
|
const _this = this
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- const form = _this.form
|
|
|
- form.id = this.$route.params.id && this.model == 'page' ? this.$route.params.id : null
|
|
|
+ const form = JSON.stringify(_this.form)
|
|
|
+ const formInfo = JSON.parse(form)
|
|
|
+ delete formInfo.satelliteFlag
|
|
|
+ formInfo.id = this.$route.params.id && this.model == 'page' ? this.$route.params.id : null
|
|
|
_this.spinning = true
|
|
|
- custSave(form).then(res => {
|
|
|
+ custSave(formInfo).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.$message.success(res.message)
|
|
|
if (_this.model == 'page') {
|