This commit is contained in:
1 parent
38a6f85b30
commit
b1fb4da556
1 file changed
+2
@@ -4,9 +4,11 @@ export const getAppInfo = async (): Promise<string> => {
|
||||
const res = await (window as any).CP2.getAppInfo()
|
||||
// 浙政钉环境
|
||||
if (res.code === 0) {
|
||||
console.log("环境:zzd")
|
||||
return "zzd"
|
||||
} else {
|
||||
// 诗画环境
|
||||
console.log("环境:sh")
|
||||
return "sh"
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user