Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
easyUI
hls-easy-ui
Commits
d7a8a4ef
Commit
d7a8a4ef
authored
Sep 01, 2021
by
nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
isDef
parent
d2060d74
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
index.js
packages/common/utils/index.js
+1
-1
demo.vue
src/pages/Scroll/demo.vue
+6
-1
demo.vue
src/pages/demo.vue
+1
-1
No files found.
packages/common/utils/index.js
View file @
d7a8a4ef
...
...
@@ -86,7 +86,7 @@ export function formatNumber (value, allowDot) {
}
export
function
isDef
(
val
)
{
return
val
!==
undefined
&&
val
!==
null
&&
val
!==
''
return
val
!==
undefined
&&
val
!==
'undefined'
&&
val
!==
null
&&
val
!==
'null'
&&
val
!==
''
}
export
function
isUndefined
(
value
)
{
...
...
src/pages/Scroll/demo.vue
View file @
d7a8a4ef
...
...
@@ -9,8 +9,11 @@
<h-return
slot=
"left"
@
click
.
native=
"$routeGo()"
/>
<div
slot=
"center"
>
scroll
</div>
</h-header>
<s-tab>
<tab-item>
测试
</tab-item>
</s-tab>
<scroll
ref=
"scroll"
:pullUp=
"true"
:pull-down=
"true"
@
pullingUp=
"loadMore"
ref=
"scroll"
class=
"has-footer"
:pullUp=
"true"
:pull-down=
"true"
@
pullingUp=
"loadMore"
@
pullingDown=
"loadMore"
>
<list-item>
<item
v-for=
"item in list"
:key=
"item"
>
...
...
@@ -19,6 +22,8 @@
</item>
</list-item>
</scroll>
<div
style=
"width: 100%;height: 40px;margin-top: 20px"
></div>
<bottom-tab></bottom-tab>
</h-view>
</
template
>
...
...
src/pages/demo.vue
View file @
d7a8a4ef
...
...
@@ -100,7 +100,7 @@
<item>
<section
slot=
"name"
>
Alert
</section>
</item>
<item>
<item
id=
"Confirm"
>
<section
slot=
"name"
>
Confirm
</section>
</item>
<item>
...
...
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