Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
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 8cd41c8c
authored
Jul 08, 2020
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
🐛
修改设备类型重复问题
1 parent
5acf2840
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
dist.zip
public/js/version.json
src/views/taskManage/editSet.vue
vue.config.js
dist.zip
View file @
8cd41c8
No preview for this file type
public/js/version.json
View file @
8cd41c8
{
"commit"
:
"650cce551cec50bef5d7b6deed8d5677f6015c32"
,
"commitDate"
:
"2020-7-6 16:28"
,
"buildDate"
:
"2020-7-6 16:30"
,
"version"
:
"2.0.4"
,
"info"
:
"增加打包版本信息"
}
\ No newline at end of file
{
"commit"
:
"5acf284075d646461f9a782829fe9d471c4c8fb0"
,
"commitDate"
:
"2020-7-7 18:29"
,
"buildDate"
:
"2020-7-8 10:39"
,
"version"
:
"2.0.4"
,
"info"
:
"feat✨ 任务设置增加10条分页,增加滚动控制修改任务后滚动条还在当前的位置"
}
\ No newline at end of file
src/views/taskManage/editSet.vue
View file @
8cd41c8
...
...
@@ -200,9 +200,19 @@ export default {
getFress
()
{
if
(
this
.
freeList
&&
this
.
freeList
.
length
>
0
)
{
var
freeArr
=
[];
let
that
=
this
;
this
.
freeList
.
forEach
(
ele
=>
{
if
(
ele
.
license_info
&&
ele
.
license_info
.
platType
)
{
this
.
platT
.
push
(
ele
.
license_info
.
platType
);
console
.
log
(
this
.
platT
)
if
(
that
.
platT
.
length
==
0
)
{
that
.
platT
.
push
(
ele
.
license_info
.
platType
);
}
for
(
let
i
=
0
;
i
<
that
.
platT
.
length
;
i
++
)
{
if
(
that
.
platT
[
i
]
!=
ele
.
license_info
.
platType
)
{
that
.
platT
.
push
(
ele
.
license_info
.
platType
);
break
;
}
}
}
});
}
...
...
vue.config.js
View file @
8cd41c8
const
fs
=
require
(
"fs"
);
const
vinfopath
=
"./public/js/version.json"
;
const
BuildInfo
=
require
(
"./version.js"
);
console
.
log
(
BuildInfo
);
const
BundleAnalyzerPlugin
=
require
(
"webpack-bundle-analyzer"
)
.
BundleAnalyzerPlugin
;
...
...
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