| | |
| | | } |
| | | } |
| | | |
| | | console.log(card) |
| | | |
| | | return [ |
| | | { |
| | | type: 'text', |
| | |
| | | type: 'radio', |
| | | key: 'cacheLocal', |
| | | label: '本地缓存', |
| | | initval: card.cacheLocal || 'true', |
| | | initVal: card.cacheLocal || 'true', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '继承菜单'}, |
| | | {value: 'false', label: '禁用'}, |
| | | {value: 'true', text: '继承菜单'}, |
| | | {value: 'false', text: '禁用'}, |
| | | ], |
| | | forbid: sessionStorage.getItem('editMenuType') === 'popview' |
| | | }, |
| | |
| | | type: 'radio', |
| | | key: 'cacheLocal', |
| | | label: '本地缓存', |
| | | initval: card.cacheLocal || 'true', |
| | | initVal: card.cacheLocal || 'true', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '继承菜单'}, |
| | | {value: 'false', label: '禁用'}, |
| | | {value: 'true', text: '继承菜单'}, |
| | | {value: 'false', text: '禁用'}, |
| | | ], |
| | | forbid: sessionStorage.getItem('editMenuType') === 'popview' |
| | | }, |
| | |
| | | type: 'radio', |
| | | key: 'cacheLocal', |
| | | label: '本地缓存', |
| | | initval: card.cacheLocal || 'true', |
| | | initVal: card.cacheLocal || 'true', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '继承菜单'}, |
| | | {value: 'false', label: '禁用'}, |
| | | {value: 'true', text: '继承菜单'}, |
| | | {value: 'false', text: '禁用'}, |
| | | ], |
| | | forbid: sessionStorage.getItem('editMenuType') === 'popview' |
| | | }, |
| | |
| | | type: 'radio', |
| | | key: 'cacheLocal', |
| | | label: '本地缓存', |
| | | initval: card.cacheLocal || 'true', |
| | | initVal: card.cacheLocal || 'true', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '继承菜单'}, |
| | | {value: 'false', label: '禁用'}, |
| | | {value: 'true', text: '继承菜单'}, |
| | | {value: 'false', text: '禁用'}, |
| | | ], |
| | | forbid: sessionStorage.getItem('editMenuType') === 'popview' |
| | | }, |
| | |
| | | type: 'radio', |
| | | key: 'cacheLocal', |
| | | label: '本地缓存', |
| | | initval: card.cacheLocal || 'true', |
| | | initVal: card.cacheLocal || 'true', |
| | | required: false, |
| | | options: [ |
| | | {value: 'true', label: '继承菜单'}, |
| | | {value: 'false', label: '禁用'}, |
| | | {value: 'true', text: '继承菜单'}, |
| | | {value: 'false', text: '禁用'}, |
| | | ], |
| | | forbid: sessionStorage.getItem('editMenuType') === 'popview' |
| | | }, |