Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
5134cd5c
Commit
5134cd5c
authored
Sep 04, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:优化应用数据配置
parent
6b382224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
...-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
+2
-5
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
View file @
5134cd5c
...
...
@@ -136,15 +136,12 @@ export default {
try
{
let
Obj
=
JSON
.
parse
(
value
);
let
isjson
=
typeof
Obj
==
"
object
"
&&
Object
.
prototype
.
toString
.
call
(
Obj
).
toLowerCase
()
==
"
[object object]
"
&&
Object
.
keys
(
Obj
).
length
;
!
value
.
length
;
"
[object object]
"
&&
Object
.
keys
(
Obj
).
length
;
if
(
isjson
)
{
callback
();
}
else
{
callback
(
new
Error
(
"
输入的
JSON对象格式
"
));
callback
(
new
Error
(
"
请输入
JSON对象格式
"
));
}
}
catch
(
err
)
{
callback
(
new
Error
(
"
输入的JSON数据格式有误
"
));
...
...
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