| | |
| | | "display": "standalone", |
| | | "theme_color": "#000000", |
| | | "background_color": "#ffffff", |
| | | "mk_version": "20240203" |
| | | "mk_version": "20240302" |
| | | } |
| | |
| | | this.resetVideo(result.data || []) |
| | | } else if (card.typecharone === 'color') { |
| | | window.GLOB.app_colors = result.data || [] |
| | | sessionStorage.setItem('app_colors', JSON.stringify(result.data || [])) |
| | | this.resetColor(result.data || []) |
| | | } |
| | | this.setState({editvisible: false}) |
| | |
| | | _this.resetVideo(res.data || []) |
| | | } else if (item.typecharone === 'color') { |
| | | window.GLOB.app_colors = res.data || [] |
| | | sessionStorage.setItem('app_colors', JSON.stringify(res.data || [])) |
| | | _this.resetColor(res.data || []) |
| | | } |
| | | } else { |
| | |
| | | |
| | | if (app_colors) { |
| | | this.getColors(app_colors) |
| | | } else if (sessionStorage.getItem('app_colors')) { |
| | | let app_colors = JSON.parse(sessionStorage.getItem('app_colors')) |
| | | window.GLOB.app_colors = app_colors |
| | | this.getColors(app_colors) |
| | | } else { |
| | | if (loading) { |
| | | this.getColors([]) |
| | |
| | | Api.getCloudConfig(param).then(res => { |
| | | loading = false |
| | | window.GLOB.app_colors = res.data || [] |
| | | sessionStorage.setItem('app_colors', JSON.stringify(res.data || [])) |
| | | this.getColors(res.data || []) |
| | | }) |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | tab.$menuname = (MenuName || '') + '-' + (tab.label || '') |
| | | |
| | | return true |
| | | }) |
| | | |
| | |
| | | config = JSON.stringify(config) |
| | | config = config.replace(/@mywebsite@\//ig, window.GLOB.baseurl) |
| | | config = JSON.parse(config) |
| | | config.MenuName = Tab.logLabel || Tab.label || '' |
| | | } catch (e) { |
| | | console.warn('Parse Failure') |
| | | config = '' |
| | |
| | | } |
| | | } |
| | | |
| | | tab.$menuname = (Tab.logLabel || Tab.label || '') + '-' + (tab.label || '') |
| | | |
| | | return true |
| | | }) |
| | | |
| | |
| | | fullName: sessionStorage.getItem('Full_Name') || '' |
| | | } |
| | | |
| | | if (config.MenuName) { |
| | | param.menuname = config.MenuName |
| | | } |
| | | param.menuname = config.MenuName || config.$menuname || '' |
| | | |
| | | param.exec_type = window.GLOB.execType || 'y' |
| | | param.LText = Utils.formatOptions(_LText.join(' union all '), param.exec_type) |