diff --git a/manifest.json b/manifest.json index f84c511e1718babbfb79c581fbb1aeb25f52e4af..2f3986ffe3dc98dff20665d315e46045618e737e 100644 --- a/manifest.json +++ b/manifest.json @@ -5,6 +5,7 @@ "versionName" : "1.0.9", "versionCode" : "109", "transformPx" : false, + "uni-app-x" : {}, /* 5+App特有相关 */ "app-plus" : { "usingComponents" : true, diff --git a/pages/SyntaxCase/consoleTest.uvue b/pages/SyntaxCase/consoleTest.uvue index 756afac4f7be72c616a5148832a1283bab4e843c..58e10a0ff872b0880b660873ccac4075b8c14d69 100644 --- a/pages/SyntaxCase/consoleTest.uvue +++ b/pages/SyntaxCase/consoleTest.uvue @@ -30,7 +30,8 @@ return; } - if(getLog(2023) != '{"type":"number","value":"2023"}'){ + + if(getLog(2023) != '{"subType":"number","type":"Int","value":"2023"}'){ this.testRet = "测试失败" return; } @@ -39,13 +40,11 @@ // this.testRet = "测试失败" // return; // } - - if(getLog(2023.002) != '{"type":"number","value":"2023.002"}'){ + if(getLog(2023.002) != '{"subType":"number","type":"Double","value":"2023.002"}'){ this.testRet = "测试失败" return; } - if(logObjectTest() != '{"className":"uts.sdk.modules.utsApiTest.ParamOptions","subType":"object","__$originalPosition":"","type":"object","value":{"methods":[],"properties":[{"name":"array","subType":"array","className":"io.dcloud.uts.UTSArray","type":"object","value":{"properties":[{"name":0,"type":"string","value":"1"},{"name":1,"type":"string","value":"2"},{"name":2,"type":"string","value":"3"}]}},{"name":"title","type":"string","value":"logObjectTest"}]}}'){ this.testRet = "测试失败" return;