删掉class和delegate