From fc939795aab21f691dfa54e88eae911c26cf08ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=9A=E9=81=93?= Date: Fri, 24 Aug 2018 12:26:44 +0800 Subject: [PATCH] move service file --- src/models/global.js | 2 +- src/models/user.js | 2 +- src/pages/Account/Settings/models/geographic.js | 2 +- src/{pages/Account/Settings => }/services/geographic.js | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{pages/Account/Settings => }/services/geographic.js (100%) diff --git a/src/models/global.js b/src/models/global.js index 55841e16..62f5c6a2 100644 --- a/src/models/global.js +++ b/src/models/global.js @@ -1,4 +1,4 @@ -import { queryNotices } from '../services/api'; +import { queryNotices } from '@/services/api'; export default { namespace: 'global', diff --git a/src/models/user.js b/src/models/user.js index 214a7ca1..3ceb127c 100644 --- a/src/models/user.js +++ b/src/models/user.js @@ -1,4 +1,4 @@ -import { query as queryUsers, queryCurrent } from '../services/user'; +import { query as queryUsers, queryCurrent } from '@/services/user'; export default { namespace: 'user', diff --git a/src/pages/Account/Settings/models/geographic.js b/src/pages/Account/Settings/models/geographic.js index adcd7331..a501920c 100644 --- a/src/pages/Account/Settings/models/geographic.js +++ b/src/pages/Account/Settings/models/geographic.js @@ -1,4 +1,4 @@ -import { queryProvince, queryCity } from '../services/geographic'; +import { queryProvince, queryCity } from '@/services/geographic'; export default { namespace: 'geographic', diff --git a/src/pages/Account/Settings/services/geographic.js b/src/services/geographic.js similarity index 100% rename from src/pages/Account/Settings/services/geographic.js rename to src/services/geographic.js -- GitLab