Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
Project
Project
Details
Activity
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
何虹
hs-sky-ui
Commits
f5fed590
Commit
f5fed590
authored
May 06, 2020
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级调试
parent
524212b7
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
51 additions
and
76 deletions
+51
-76
main.js
src/main.js
+1
-0
index.js
src/packages/hs-action/index.js
+2
-3
index.js
src/packages/hs-button-group/index.js
+2
-3
index.js
src/packages/hs-carousel/index.js
+2
-3
index.js
src/packages/hs-cascader/index.js
+2
-3
index.js
src/packages/hs-checkbox-group/index.js
+2
-3
index.js
src/packages/hs-checkbox/index.js
+2
-3
index.js
src/packages/hs-computed/index.js
+2
-3
index.js
src/packages/hs-date-picker/index.js
+2
-3
index.js
src/packages/hs-dialog/index.js
+2
-3
index.js
src/packages/hs-divider/index.js
+2
-3
index.js
src/packages/hs-dyncForm/index.js
+2
-3
index.js
src/packages/hs-file/index.js
+2
-3
index.js
src/packages/hs-gantt/index.js
+2
-3
index.js
src/packages/hs-input/index.js
+2
-3
index.js
src/packages/hs-line-bar/index.js
+2
-3
index.js
src/packages/hs-radio/index.js
+2
-3
index.js
src/packages/hs-select-plus/index.js
+2
-3
index.js
src/packages/hs-switch/index.js
+2
-3
index.js
src/packages/hs-table/index.js
+2
-3
index.js
src/packages/hs-tabs-querybi-linkTable/index.js
+2
-3
index.js
src/packages/hs-tabs/index.js
+2
-3
index.js
src/packages/hs-tags/index.js
+2
-3
index.js
src/packages/hs-tree/index.js
+2
-3
index.js
src/packages/index.js
+4
-7
No files found.
src/main.js
View file @
f5fed590
import
Vue
from
'vue'
import
Vue
from
'vue'
window
.
Vue
=
Vue
import
App
from
'./App.vue'
import
App
from
'./App.vue'
import
'./packages/index'
import
'./packages/index'
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
...
...
src/packages/hs-action/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-button-group/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-carousel/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-cascader/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-checkbox-group/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-checkbox/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-computed/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-date-picker/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-dialog/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-divider/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-dyncForm/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-file/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-gantt/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-input/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-line-bar/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-radio/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-select-plus/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-switch/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-table/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-tabs-querybi-linkTable/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-tabs/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-tags/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/hs-tree/index.js
View file @
f5fed590
import
index
from
'./index.vue'
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
index
.
install
=
function
(
Vue
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
Vue
.
component
(
index
.
name
,
index
)
window
.
Vue
.
use
(
index
);
}
}
export
default
index
export
default
index
\ No newline at end of file
src/packages/index.js
View file @
f5fed590
...
@@ -59,19 +59,16 @@ const components = [
...
@@ -59,19 +59,16 @@ const components = [
hsAction
hsAction
]
]
const
install
=
function
(
Vue
,
opts
=
{}
)
{
const
install
=
function
(
Vue
)
{
components
.
map
(
component
=>
{
components
.
forEach
(
component
=>
{
Vue
.
component
(
component
.
name
,
component
);
Vue
.
component
(
component
.
name
,
component
);
})
})
;
}
}
/* 支持使用标签的方式引入 */
/* 支持使用标签的方式引入 */
if
(
typeof
window
!==
'undefined'
)
{
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
||
Vue
)
{
debugger
install
(
window
.
Vue
||
Vue
);
install
(
window
.
Vue
||
Vue
);
}
}
export
default
{
export
default
{
install
,
install
,
hsTree
,
hsTree
,
...
...
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