export default obeys the ES6 specification, supplement: default is actually an alias
module.exports obeys the CommonJS specification
generally export an attribute or object with export default
generally export module or file use module.exports
export default and module.exports in Vue
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326230841&siteId=291194637
Recommended
Ranking