Commit f9f7e4fd authored by 范雪寒's avatar 范雪寒

feat:

parent 83daffdd
...@@ -16,7 +16,7 @@ cc.Class({ ...@@ -16,7 +16,7 @@ cc.Class({
welcomeNode.active = true; welcomeNode.active = true;
const canvas = cc.find('Canvas'); const canvas = cc.find('Canvas');
canvas.getComponent(cc.Widget).updateAlignment(); canvas.getComponent(cc.Widget).updateAlignment();
welcomeNode.scale = math.max( welcomeNode.scale = Math.max(
canvas.width / welcomeNode.width, canvas.width / welcomeNode.width,
canvas.height / welcomeNode.height canvas.height / welcomeNode.height
); );
...@@ -90,7 +90,7 @@ cc.Class({ ...@@ -90,7 +90,7 @@ cc.Class({
); );
} else { } else {
return JSON.stringify({ return JSON.stringify({
baseUrl: "http://staging-openapi.iteachabc.com/", baseUrl: "http://staging-openapi.iteachabc.com",
middleLayerName: "middleLayer_for_PSQS", middleLayerName: "middleLayer_for_PSQS",
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment