Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
69319571
Commit
69319571
authored
Dec 10, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复我的网点处的展示
parent
fa78ad82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.ts
src/service/AddressService/index.ts
+2
-2
index.vue
src/views/withMenu/Mine/index.vue
+1
-1
No files found.
src/service/AddressService/index.ts
View file @
69319571
import
baseAxios
,
{
iRet
}
from
"../index"
;
import
{
iNearbyOutLet
,
iOutLetDetail
}
from
"./types"
;
import
Bridge
from
"@/utils/jsBridge2"
;
const
isDev
=
process
.
env
.
NODE_ENV
===
"development"
;
class
AddressService
{
static
instance
:
AddressService
;
static
getInstance
()
{
...
...
@@ -11,7 +13,6 @@ class AddressService {
}
getNearby
(
data
:
{
bank_code
:
number
;
number
:
number
})
{
const
isDev
=
process
.
env
.
NODE_ENV
===
"development"
;
if
(
isDev
)
{
return
baseAxios
<
iNearbyOutLet
[]
>
({
method
:
"post"
,
...
...
@@ -100,7 +101,6 @@ class AddressService {
}
staloc
()
{
const
isDev
=
process
.
env
.
NODE_ENV
===
"development"
;
if
(
isDev
)
{
return
baseAxios
<
iNearbyOutLet
>
({
method
:
"post"
,
...
...
src/views/withMenu/Mine/index.vue
View file @
69319571
...
...
@@ -121,7 +121,7 @@ export default defineComponent({
onMounted
(
async
()
=>
{
state
.
loading
=
true
;
if
(
isUser
.
value
)
{
if
(
userMsg
?.
value
?.
role2
===
undefined
||
isUser
.
value
)
{
const
ret
=
await
AddressService
.
getInstance
().
getNearby
({
// eslint-disable-next-line no-undef
bank_code
:
Number
(
process
.
env
.
VUE_APP_BANK_CODE
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment