One of the best way to deal with any kind of data loss situation is to get the lost data back from previous backup, no matter which smartphone you are using. But this will only help when you have backed up all your crucial data in safe place.
If no backup is available, then immediately stop accessing your phone. Because if you continue to use the device, then the old data can get overwritten by new data and there will be no chance to get back all your erased data.
After that, you should use powerful recovery software that can help you to get back all the lost data from your Huawei Mate 10 phones. I can understand the situation you have to face but don’t worry, simply using the recovery tool will help to restore wiped out data from Android devices.