工程 :uni-app+Vue+TypeScript
問題:無法創(chuàng)建組件
image.png
參考:https://robinchen.me/tech/2016/10/25/tech-A-case-of-ES6-modules.html
image.png
排查:
image.png
image.png
image.png
紅色標(biāo)識的2個導(dǎo)出順序然遏,與代碼順序不一樣贫途。
處理:
調(diào)整代碼:
import { ApplyAntiCheatCodeRequest, AntiResultResponse } from '@api/gateway/PlatformRandomCode'
重新構(gòu)建。沒有再報此問題待侵。