提交 d5d14c37 编写于 作者: KK's avatar KK

第三方应用下隐藏正常标题

上级 3df5fa0c
......@@ -59,6 +59,16 @@ export const getPage = (state: any) => (arg: any) => {
return page;
}
/**
* 获取第三方应用名称
*
* @param state
*/
export const getThirdPartyName = (state: any) =>() => {
return state.thirdPartyName;
}
/**
* 获取 z-index
*
......
......@@ -225,6 +225,16 @@ export const removeOtherPage = (state: any) => {
}
}
/**
* 设置第三方应用名称
*
* @param state
* @param name
*/
export const setThirdPartyName = (state: any, name: any) => {
state.thirdPartyName = name;
}
/**
* 更新 z-index
*
......
......@@ -10,6 +10,7 @@ export const rootstate: any = {
selectTheme: '',
selectFont: '',
appdata: '',
thirdPartyName:'',
localdata: {},
zIndex: 300,
}
\ No newline at end of file
......@@ -387,4 +387,11 @@ export class ViewTool {
public setViewTitleOfThirdParty(title:string) {
this.thirdPartyService.setTitle(title);
}
/**
* 获取第三方服务名称
*/
public getThirdPartyName(): any {
return this.thirdPartyService.platform
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册