Self-repairing mechanism of plastics