looks like your anguler/material is still at 7. Try to upgrade it to 9.
https://update.angular.io/?v=7.2-9.0
click "I use material" option then you'll get a list of things you need to do to upgrade it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.