| | |
| | | options: menulist |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'urlPar', |
| | | label: 'URL变量', |
| | | initVal: card.urlPar || 'false', |
| | | tooltip: '刷新菜单时是否清除URL变量。', |
| | | required: false, |
| | | options: [{ |
| | | value: 'true', |
| | | text: '清空' |
| | | }, { |
| | | value: 'false', |
| | | text: '不清空' |
| | | }], |
| | | forbid: isApp || viewType === 'popview', |
| | | }, |
| | | { |
| | | type: !appType ? 'cascader' : 'select', |
| | | key: 'openmenu', |
| | | label: '打开菜单', |
| | |
| | | value: 'single', |
| | | text: '逐条请求' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'execInterval', |
| | | label: '执行间隔', |
| | | initVal: card.execInterval || 0, |
| | | tooltip: '两次请求的时间间隔(单位毫秒)。', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | |
| | | options: menulist |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'urlPar', |
| | | label: 'URL变量', |
| | | initVal: card.urlPar || 'false', |
| | | tooltip: '刷新菜单时是否清除URL变量。', |
| | | required: false, |
| | | options: [{ |
| | | value: 'true', |
| | | text: '清空' |
| | | }, { |
| | | value: 'false', |
| | | text: '不清空' |
| | | }], |
| | | forbid: viewType === 'popview', |
| | | }, |
| | | { |
| | | type: 'cascader', |
| | | key: 'openmenu', |
| | | label: '打开菜单', |
| | |
| | | }] |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'execInterval', |
| | | label: '执行间隔', |
| | | initVal: card.execInterval || 0, |
| | | tooltip: '两次请求的时间间隔(单位毫秒)。', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'progress', |
| | | label: '进度提示', |