|Never use a vacuum cleaner on a computer. If you didn't damage anything with electro static discharge you were lucky. Unfortunately, even when there is no apparent damage components can be weakened and may fail at a later date.|
Use canned or compressed air to remove the dust/dirt. Be sure the AC power is disconnected and the power battery in a laptop is also removed. That works better than a vacuum anyway.
Desktop computers have an internal power supply that can't be cleaned with a vacuum anyway. Blow out the power supply from both ends. DO NOT disassemble the power supply. That is dangerous.