Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-file-upload
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 54203c94
authored
Feb 25, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加临街点判断/添加本地域名配置
1 parent
1fc9b68e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
src/main.js
src/views/services/index.vue
src/main.js
View file @
54203c9
...
@@ -42,6 +42,9 @@ import VConsole from 'vconsole'
...
@@ -42,6 +42,9 @@ import VConsole from 'vconsole'
const
isMock
=
true
const
isMock
=
true
fetchConfig
(
!
isMock
).
then
(
res
=>
{
fetchConfig
(
!
isMock
).
then
(
res
=>
{
// 添加本地修改配置
// res.request.baseURL = 'http://scrm.dev.glsx.com.cn'
// res.request.baseURL = 'http://scrm.test.glsx.com.cn'
// 从配置服务器获取动态配置
// 从配置服务器获取动态配置
// 设置 js中可以访问 $cdn
// 设置 js中可以访问 $cdn
Vue
.
use
(
cfg
)
Vue
.
use
(
cfg
)
...
...
src/views/services/index.vue
View file @
54203c9
...
@@ -149,6 +149,10 @@ export default {
...
@@ -149,6 +149,10 @@ export default {
if
(
this
.
serviceList
.
length
%
this
.
paramForm
.
pageSize
!=
0
||
(
data
.
list
.
length
==
0
&&
this
.
serviceList
.
length
!=
0
)){
if
(
this
.
serviceList
.
length
%
this
.
paramForm
.
pageSize
!=
0
||
(
data
.
list
.
length
==
0
&&
this
.
serviceList
.
length
!=
0
)){
this
.
finished
=
true
this
.
finished
=
true
}
}
// 刚好临界点
if
(
this
.
paramForm
.
pageSize
==
data
.
total
){
this
.
finished
=
true
}
this
.
isNoResult
=
this
.
serviceList
.
length
?
false
:
true
this
.
isNoResult
=
this
.
serviceList
.
length
?
false
:
true
})
})
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment