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
2ff2092f
Commit
2ff2092f
authored
Mar 10, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分离element
parent
a7412437
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
117 additions
and
8 deletions
+117
-8
child.vue
src/packages/hs-table/src/child.vue
+2
-2
index copy 2.js
src/packages/index copy 2.js
+109
-0
index.js
src/packages/index.js
+6
-6
No files found.
src/packages/hs-table/src/child.vue
View file @
2ff2092f
...
@@ -644,8 +644,8 @@ export default {
...
@@ -644,8 +644,8 @@ export default {
const
tableData
=
_
.
cloneDeep
(
this
.
tableDat
||
[])
const
tableData
=
_
.
cloneDeep
(
this
.
tableDat
||
[])
const
config
=
_
.
cloneDeep
(
this
.
tableConfig
||
{})
const
config
=
_
.
cloneDeep
(
this
.
tableConfig
||
{})
if
(
config
.
spanCol
)
{
if
(
config
.
spanCol
)
{
spanCol
=
config
.
spanCol
let
spanCol
=
config
.
spanCol
spanCol
.
forEach
(
key
=>
{
spanCol
.
forEach
(
key
=>
{
if
(
key
.
indexOf
(
'^'
)
>
-
1
)
{
if
(
key
.
indexOf
(
'^'
)
>
-
1
)
{
const
key1
=
key
.
split
(
'^'
)[
0
]
const
key1
=
key
.
split
(
'^'
)[
0
]
const
key2
=
key
.
split
(
'^'
)[
1
]
const
key2
=
key
.
split
(
'^'
)[
1
]
...
...
src/packages/index copy 2.js
0 → 100644
View file @
2ff2092f
import
ElementUI
from
'element-ui'
import
UmyUi
from
'umy-ui'
import
'element-ui/lib/theme-chalk/index.css'
import
'umy-ui/lib/theme-chalk/index.css'
import
hsButton
from
'./hs-button'
import
hsButtonGroup
from
'./hs-button-group'
import
hsCarousel
from
'./hs-carousel'
import
hsCascader
from
'./hs-cascader'
import
hsCheckbox
from
'./hs-checkbox'
import
hsCheckboxGroup
from
'./hs-checkbox-group'
import
hsComponentShell
from
'./hs-component-shell'
import
hsComputed
from
'./hs-computed'
import
hsDatePicker
from
'./hs-date-picker'
import
hsDialog
from
'./hs-dialog'
import
hsDivider
from
'./hs-divider'
import
hsDragList
from
'./hs-drag-list'
import
hsDyncForm
from
'./hs-dync-form'
import
hsFile
from
'./hs-file'
import
hsGantt
from
'./hs-gantt'
import
hsIframeDialog
from
'./hs-iframe-dialog'
import
hsImg
from
'./hs-img'
import
hsInput
from
'./hs-input'
import
hsInputNumber
from
'./hs-input-number'
import
hsInputSelect
from
'./hs-input-select'
import
hsIsoneditor
from
'./hs-jsoneditor'
import
hsLineBar
from
'./hs-line-bar'
import
hsLookup
from
'./hs-lookup'
import
hsPopoverTextarea
from
'./hs-popover-textarea'
import
hsQrcode
from
'./hs-qrcode'
import
hsRadio
from
'./hs-radio'
import
hsRate
from
'./hs-rate'
import
hsSelectList
from
'./hs-select-list'
import
hsSelectPlus
from
'./hs-select-plus'
import
hsStatusGroup
from
'./hs-status-group'
import
hsSwitch
from
'./hs-switch'
import
hsTable
from
'./hs-table'
import
hsTabs
from
'./hs-tabs'
import
hsTags
from
'./hs-tags'
import
hsTagsForm
from
'./hs-tags-form'
import
hsTagsSelect
from
'./hs-tags-select'
import
hsTagsTable
from
'./hs-tags-table'
import
hsTree
from
'./hs-tree'
import
themePicker
from
'./themePicker'
import
hsActionSet
from
'./hs-action-set'
import
hsDialogTable
from
'./hs-dialog-table'
import
hsDialogDyncForm
from
'./hs-dialog-dyncform'
import
hsDialogIframepage
from
'./hs-dialog-iframepage'
import
hsDialogRejactPromptTextarea
from
'./hs-dialog-rejact-prompt-textarea'
import
hsUploadExcel
from
'./hs-upload-excel'
import
hsTimePicker
from
'./hs-time-picker'
import
hsContextmenu
from
'./hs-contextmenu'
import
Contextmenu
from
'vue-contextmenujs'
export
default
{
install
(
Vue
)
{
Vue
.
use
(
ElementUI
)
Vue
.
use
(
UmyUi
)
Vue
.
use
(
Contextmenu
)
Vue
.
use
(
hsButton
)
Vue
.
use
(
hsButtonGroup
)
Vue
.
use
(
hsCarousel
)
Vue
.
use
(
hsCascader
)
Vue
.
use
(
hsCheckbox
)
Vue
.
use
(
hsCheckboxGroup
)
Vue
.
use
(
hsComponentShell
)
Vue
.
use
(
hsComputed
)
Vue
.
use
(
hsDatePicker
)
Vue
.
use
(
hsDialog
)
Vue
.
use
(
hsDivider
)
Vue
.
use
(
hsDragList
)
Vue
.
use
(
hsDyncForm
)
Vue
.
use
(
hsFile
)
Vue
.
use
(
hsGantt
)
Vue
.
use
(
hsIframeDialog
)
Vue
.
use
(
hsImg
)
Vue
.
use
(
hsInput
)
Vue
.
use
(
hsInputNumber
)
Vue
.
use
(
hsInputSelect
)
Vue
.
use
(
hsIsoneditor
)
Vue
.
use
(
hsLineBar
)
Vue
.
use
(
hsLookup
)
Vue
.
use
(
hsPopoverTextarea
)
Vue
.
use
(
hsQrcode
)
Vue
.
use
(
hsRadio
)
Vue
.
use
(
hsRate
)
Vue
.
use
(
hsSelectList
)
Vue
.
use
(
hsSelectPlus
)
Vue
.
use
(
hsStatusGroup
)
Vue
.
use
(
hsSwitch
)
Vue
.
use
(
hsTable
)
Vue
.
use
(
hsTabs
)
Vue
.
use
(
hsTags
)
Vue
.
use
(
hsTagsForm
)
Vue
.
use
(
hsTagsSelect
)
Vue
.
use
(
hsTagsTable
)
Vue
.
use
(
hsTree
)
Vue
.
use
(
hsActionSet
)
Vue
.
use
(
themePicker
)
Vue
.
use
(
hsDialogTable
)
Vue
.
use
(
hsDialogDyncForm
)
Vue
.
use
(
hsDialogIframepage
)
Vue
.
use
(
hsDialogRejactPromptTextarea
)
Vue
.
use
(
hsUploadExcel
)
Vue
.
use
(
hsTimePicker
)
Vue
.
use
(
hsContextmenu
)
}
}
src/packages/index.js
View file @
2ff2092f
import
ElementUI
from
'element-ui'
//
import ElementUI from 'element-ui'
import
UmyUi
from
'umy-ui'
//
import UmyUi from 'umy-ui'
import
'element-ui/lib/theme-chalk/index.css'
//
import 'element-ui/lib/theme-chalk/index.css'
import
'umy-ui/lib/theme-chalk/index.css'
//
import 'umy-ui/lib/theme-chalk/index.css'
import
hsButton
from
'./hs-button'
import
hsButton
from
'./hs-button'
import
hsButtonGroup
from
'./hs-button-group'
import
hsButtonGroup
from
'./hs-button-group'
import
hsCarousel
from
'./hs-carousel'
import
hsCarousel
from
'./hs-carousel'
...
@@ -52,8 +52,8 @@ import hsContextmenu from './hs-contextmenu'
...
@@ -52,8 +52,8 @@ import hsContextmenu from './hs-contextmenu'
import
Contextmenu
from
'vue-contextmenujs'
import
Contextmenu
from
'vue-contextmenujs'
export
default
{
export
default
{
install
(
Vue
)
{
install
(
Vue
)
{
Vue
.
use
(
ElementUI
)
//
Vue.use(ElementUI)
Vue
.
use
(
UmyUi
)
//
Vue.use(UmyUi)
Vue
.
use
(
Contextmenu
)
Vue
.
use
(
Contextmenu
)
Vue
.
use
(
hsButton
)
Vue
.
use
(
hsButton
)
Vue
.
use
(
hsButtonGroup
)
Vue
.
use
(
hsButtonGroup
)
...
...
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