auth.js:
import { fetch } from '../utils/fetch';
import { LOGIN_URL, USERINFO_URL, LOGOUT_URL } from '../api/backurl';export function loginByHnaAccount(account, password) {
  return fetch({
    url: LOGIN_URL,
    method: 'get',
    headers: { Authorization: 'Basic ' + btoa(account + ':' + password) }
  });
}user.jsimport { loginByHnaAccount } from '../api/auth';
import Cookies from 'js-cookie';const user = {
  state: {
    user: '',
    status: '',
    email: '',
    code: '',
    uid: undefined,
    auth_type: '',
    token: Cookies.get('Token'),
    name: '',
    avatar: '',
    introduction: '',
    role: '',
    setting: {
      articlePlatform: []
    }
  },项目结构如下:
为什么运行时老是报如下错误:
路径怎么改都改不对,请教下前端大神们!!!