Compensation method of error caused from maladjustment of optical path based on microfluidic chip