api按模块单独配置文件

This commit is contained in:
sfmind
2022-05-01 22:39:16 +08:00
parent 083daa657d
commit f7d384e55d
10 changed files with 55 additions and 40 deletions

View File

@ -51,7 +51,7 @@
</template>
<script>
import { getUserInfo, updateAvatar, updateNickname } from '../../common/api'
import { getUserInfo, updateAvatar, updateNickname } from '../../api/user'
export default {
data() {