设备注册修改
This commit is contained in:
		
							parent
							
								
									8aa848af3b
								
							
						
					
					
						commit
						274dd583d6
					
				| @ -445,6 +445,12 @@ struct Index { | |||||||
|       //   console.log('sql error1', err) |       //   console.log('sql error1', err) | ||||||
|       // }) |       // }) | ||||||
|       if (ret) { |       if (ret) { | ||||||
|  |         if (globalThis.singlePlay) { | ||||||
|  |           router.pushUrl({ | ||||||
|  |             url: 'pages/UserInfo', | ||||||
|  |           }, router.RouterMode.Single) | ||||||
|  |           return | ||||||
|  |         } | ||||||
|         getSyncData('MA_SYSSET').then(data => { |         getSyncData('MA_SYSSET').then(data => { | ||||||
|           console.log('datadata', JSON.stringify(data)) |           console.log('datadata', JSON.stringify(data)) | ||||||
|           // @ts-ignore |           // @ts-ignore | ||||||
|  | |||||||
| @ -4,6 +4,7 @@ import { dateFormat } from '../common/utils/tools' | |||||||
| import promptAction from '@ohos.promptAction' | import promptAction from '@ohos.promptAction' | ||||||
| import FileUtil from '../common/utils/File' | import FileUtil from '../common/utils/File' | ||||||
| import common from '@ohos.app.ability.common' | import common from '@ohos.app.ability.common' | ||||||
|  | import deviceManager from '@ohos.distributedHardware.deviceManager' | ||||||
| 
 | 
 | ||||||
| @Entry | @Entry | ||||||
| @Component | @Component | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user