solution:
1. Transfer the font files under the root directory static to other folder projects, for example, I built a style directory in the root directory.
2. Copy the font folder and the files inside @import url('/style/iconfont/iconfont.css');
3. Iconfont.css
@font-face {
font-family: "iconfont"; /* Project id 2557476 */
src: url('~@/style/font/iconfont.woff2?t=1644809356053') format('woff2'),
url('~@/style/font/iconfont.woff?t=1644809356053') format('woff'),
url('~@/style/font/iconfont.ttf?t=1644809356053') format('truetype');
}
4. Delete the font folder under the static file, and upload it again, the font file prompt will not appear.