diff --git a/pages/API/get-file-system-manager/get-file-system-manager.test.js b/pages/API/get-file-system-manager/get-file-system-manager.test.js index 69c2599f3ea1da0458e3dd2a0c5802296f591dbb..054384c7d51d60ef054ba21a59f8b9496fbd1ccc 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.test.js +++ b/pages/API/get-file-system-manager/get-file-system-manager.test.js @@ -1156,6 +1156,7 @@ describe('ExtApi-FileManagerTest', () => { if (!isAndroid()) { return } + console.log('saveFileSyncTest', 'start') let globalTempPath = await getData('globalTempPath') let basePath = await getData('basePath') await page.setData({ @@ -1163,6 +1164,7 @@ describe('ExtApi-FileManagerTest', () => { basePath: basePath }) await clearDir('') + console.log('saveFileSyncTest', '1') await page.setData({ logAble: false, basePath: globalTempPath, @@ -1172,6 +1174,7 @@ describe('ExtApi-FileManagerTest', () => { accessFile: '2.txt' }) await createFile() + console.log('saveFileSyncTest', '2') await page.setData({ basePath: basePath, writeFile: 'save/2.txt', @@ -1181,6 +1184,7 @@ describe('ExtApi-FileManagerTest', () => { let btnRemoveSavedFileRet = await page.$('#btn-remove-saved-file') await btnRemoveSavedFileRet.tap() await isDone() + console.log('saveFileSyncTest', '3') let removeSavedFileRet = await getData("removeSavedFileRet") expect(removeSavedFileRet).toEqual('removeSavedFile:ok') @@ -1188,6 +1192,7 @@ describe('ExtApi-FileManagerTest', () => { removeSavedFileRet: '' }) await clearDir('') + console.log('saveFileSyncTest', '4') }); it('getSavedFileListTest', diff --git a/pages/API/get-file-system-manager/get-file-system-manager.uvue b/pages/API/get-file-system-manager/get-file-system-manager.uvue index cd3465e83ae76c90419ffb078180cf9cbacdb88f..2eb84fa978ea01ec741e07cf3f24416984cee709 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.uvue +++ b/pages/API/get-file-system-manager/get-file-system-manager.uvue @@ -132,7 +132,7 @@ fd: '', closeFileRet: '', bytesWritten: 0, - fstat: new Stats(), + fstat: null as Stats | null, ftruncateRet: '', readZipFile: 'to.zip', getSavedFileListRet:'', @@ -924,13 +924,13 @@ this.log += 'removeSavedFileTest success:' + JSON.stringify(res) + '\n\n' } this.removeSavedFileRet = res.errMsg - console.log("removeSavedFileTest success", res) + console.error("removeSavedFileTest success", res) }, fail: (res : UniError) => { if (this.logAble) { this.log += 'removeSavedFileTest fail:' + JSON.stringify(res) + '\n\n' } - console.log('removeSavedFileTest fail', res) + console.error('removeSavedFileTest fail', res) }, complete: (_) => { this.done = true diff --git a/pages/CSS/transition/transition.uvue b/pages/CSS/transition/transition.uvue index 44433f4283069137efe105e8fb01b94b9e8fb676..f2b07257d8c7df981080fb3597cfcf5794998ce8 100644 --- a/pages/CSS/transition/transition.uvue +++ b/pages/CSS/transition/transition.uvue @@ -138,7 +138,6 @@ this.isTransitionstyleBackground = !this.isTransitionstyleBackground }, changeBackground2() { - console.log(aa) this.styleBackground2?.style?.setProperty("background-color", this.isTransitionstyleBackground ? 'brown' : 'rgba(0, 0, 0, 0.5);'