Commit 98018f06 by zhangquan

修复bug

1 parent bff878b5
<template>
<GLDialog mode="mid" :close-on-click-modal="false" :title="formObj.id ? '编辑内容' : '新增内容'" :visible.sync="visible" @onOk="onOk" :before-close="onCancel" @onCancel="onCancel">
<GLDialog mode="mid" :close-on-click-modal="false" :title="title" :visible.sync="visible" @onOk="onOk" :before-close="onCancel" @onCancel="onCancel">
<glsx-combi-form class="glsx-combi-form" ref="videoRef" labelWidth="154px" defaultWidth="432px" :isInline="false" :formObj.sync="formObj" :formData="formData" :formRules="rules">
<div slot="moduleSlot" class="radio-slot">
<el-radio-group @change="menuRadioChange" v-model="formObj.menuId">
......@@ -145,6 +145,9 @@ export default {
}
},
computed: {
title(){
return `${this.formObj.id ? '编辑': '新增'}${this.formObj.type==5 ? 'banner' : '内容'}`
},
subMenuList(){
const target = this.menuList.find(item => item.id == this.formObj.menuId)
return target?.childList || []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!