Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-tool
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
tool
web-tool
Commits
c9d12f72
Commit
c9d12f72
authored
Jul 13, 2023
by
陈祥烨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度条
parent
6238ddc3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
522 additions
and
8 deletions
+522
-8
settings.json
.vscode/settings.json
+4
-0
index.js
packages/graphmod-assets/src/index.js
+0
-0
svginfo.min.js
packages/graphmod-ccs/extra/RiskSituation/101/svginfo.min.js
+1
-1
svginfo.min.js
packages/graphmod-ccs/extra/RiskSituation/102/svginfo.min.js
+1
-1
index.scss
packages/graphmod-common/src/userSelectPerson/index.scss
+1
-1
index.scss
packages/graphmod-common/src/userSelector/index.scss
+1
-1
_proxy.js
packages/graphmod-scripts/src/_proxy.js
+8
-2
package-lock.json
packages/graphmod-tool/package-lock.json
+28
-0
api.js
packages/graphmod-tool/src/api.js
+13
-1
DeleteModel.js
packages/graphmod-tool/src/demo1/DeleteModel.js
+82
-0
DeleteView.js
packages/graphmod-tool/src/demo1/DeleteView.js
+126
-0
ExecuteProgress.js
packages/graphmod-tool/src/demo1/ExecuteProgress.js
+85
-0
ExecuteProgressContent.js
packages/graphmod-tool/src/demo1/ExecuteProgressContent.js
+77
-0
ccs.js
packages/graphmod-tool/src/demo1/ccs.js
+12
-0
config.js
packages/graphmod-tool/src/demo1/config.js
+23
-0
index.js
packages/graphmod-tool/src/demo1/index.js
+10
-0
index.scss
packages/graphmod-tool/src/demo1/index.scss
+38
-0
tool.js
packages/graphmod-tool/src/demo1/tool.js
+10
-0
index.js
packages/graphmod-tool/src/index.js
+2
-1
No files found.
.vscode/settings.json
0 → 100644
View file @
c9d12f72
{
"editor.fontSize"
:
16
}
\ No newline at end of file
packages/graphmod-assets/src/index.js
View file @
c9d12f72
This diff is collapsed.
Click to expand it.
packages/graphmod-ccs/extra/RiskSituation/101/svginfo.min.js
View file @
c9d12f72
/**
/**
* svgfile-umd-demo v1.0.0
* svgfile-umd-demo
1
v1.0.0
*
*
* released date Fri Nov 19 2021 16:33:17 GMT+0800 (GMT+08:00).
* released date Fri Nov 19 2021 16:33:17 GMT+0800 (GMT+08:00).
* Copyright 2016-present, AMOS.ilex.ray
* Copyright 2016-present, AMOS.ilex.ray
...
...
packages/graphmod-ccs/extra/RiskSituation/102/svginfo.min.js
View file @
c9d12f72
/**
/**
* svgfile-umd-demo v1.0.0
* svgfile-umd-demo
1
v1.0.0
*
*
* released date Fri Nov 19 2021 16:33:17 GMT+0800 (GMT+08:00).
* released date Fri Nov 19 2021 16:33:17 GMT+0800 (GMT+08:00).
* Copyright 2016-present, AMOS.ilex.ray
* Copyright 2016-present, AMOS.ilex.ray
...
...
packages/graphmod-common/src/userSelectPerson/index.scss
View file @
c9d12f72
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
width
:
10px
;
width
:
10px
;
height
:
7px
;
height
:
7px
;
margin-top
:
-3
.5px
;
margin-top
:
-3
.5px
;
background
:
url('~@gm/graphmod-assets/assets/knowledgeLib/search.png')
no-repeat
;
//
background: url('~@gm/graphmod-assets/assets/knowledgeLib/search.png') no-repeat;
background-size
:
cover
;
background-size
:
cover
;
}
}
...
...
packages/graphmod-common/src/userSelector/index.scss
View file @
c9d12f72
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
width
:
10px
;
width
:
10px
;
height
:
7px
;
height
:
7px
;
margin-top
:
-3
.5px
;
margin-top
:
-3
.5px
;
background
:
url('~@gm/graphmod-assets/assets/knowledgeLib/search.png')
no-repeat
;
//
background: url('~@gm/graphmod-assets/assets/knowledgeLib/search.png') no-repeat;
background-size
:
cover
;
background-size
:
cover
;
}
}
...
...
packages/graphmod-scripts/src/_proxy.js
View file @
c9d12f72
const
proxy
=
{
const
proxy
=
{
'/baseURI'
:
{
// '/baseURI': {
target
:
'http://172.16.10.72:10005/'
,
// target: 'http://172.16.10.72:10005/',
// pathRewrite: { '^/baseURI': '' }
// },
'/baseURI/jcs'
:
{
// target: 'http://172.16.10.72:10005/',
target
:
'http://172.16.0.120:20000/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/baseURI'
:
''
}
pathRewrite
:
{
'^/baseURI'
:
''
}
},
},
'/bizURI/openapi'
:
{
'/bizURI/openapi'
:
{
...
...
packages/graphmod-tool/package-lock.json
0 → 100644
View file @
c9d12f72
{
"name"
:
"@gm/graphmod-tool"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
"@gm/graphmod-assets"
:
{
"version"
:
"1.0.0"
,
"dev"
:
true
},
"@gm/graphmod-common"
:
{
"version"
:
"1.0.0"
,
"dev"
:
true
,
"dependencies"
:
{
"@gm/graphmod-assets"
:
{},
"@gm/graphmod-utils"
:
{}
}
},
"@gm/graphmod-scripts"
:
{
"version"
:
"1.0.0"
,
"dev"
:
true
},
"@gm/graphmod-utils"
:
{
"version"
:
"1.0.0"
,
"dev"
:
true
}
}
}
packages/graphmod-tool/src/api.js
View file @
c9d12f72
// 该模块存放系统通用 api 接口
// 该模块存放系统通用 api 接口
// 各自模块的 api 存放在自己模块根目录下
// 各自模块的 api 存放在自己模块根目录下
import
*
as
endConf
from
'amos-processor/lib/config/endconf'
;
import
{
request
,
gateWay
}
from
'@gm/graphmod-utils'
;
import
{
request
,
gateWay
}
from
'@gm/graphmod-utils'
;
const
completePrefix
=
endConf
.
completePrefix
;
const
AmosConfig
=
endConf
.
AmosConfig
;
const
baseURI
=
AmosConfig
.
httpURI
.
baseURI
;
const
{
const
{
commonGet
,
commonGet
,
commonPost
,
commonPost
,
commonPut
,
commonPut
,
formatUrl
,
formatUrl
,
completePrefix
,
commonDelete
,
commonDelete
,
formatObjUrl
,
formatObjUrl
,
fileDownload
fileDownload
...
@@ -16,6 +20,14 @@ const {
...
@@ -16,6 +20,14 @@ const {
export
const
UrlConsts
=
{
export
const
UrlConsts
=
{
deleteAgency
:
(
url
)
=>
completePrefix
(
baseURI
,
'jcs/Agency/relation/{agencyCodeId}/{sequenceNbrs}'
),
};
/**
* 删除机构
*/
export
const
deleteByAgencyCode
=
(
agencyCodeId
,
sequenceNbrs
)
=>
{
console
.
log
(
formatUrl
(
UrlConsts
.
deleteAgency
(),
{
agencyCodeId
,
sequenceNbrs
}))
return
commonDelete
(
formatUrl
(
UrlConsts
.
deleteAgency
(),
{
agencyCodeId
,
sequenceNbrs
}));
};
};
packages/graphmod-tool/src/demo1/DeleteModel.js
0 → 100644
View file @
c9d12f72
import
React
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
{
Form
,
Input
}
from
'amos-framework'
;
import
{
withModalForm
,
BaseForm
}
from
'amos-designer'
;
import
{
tools
}
from
'@gm/graphmod-utils'
;
import
*
as
api
from
'../api'
const
{
deleteByAgencyCode
}
=
api
;
const
FormItem
=
Form
.
Item
;
/**
* 导入数据
* @class ImportData
* @extends {Component}
*/
@
withModalForm
({
width
:
400
,
title
:
'导出SQL脚本'
})
// class DeleteModel extends BaseForm {
// constructor(props) {
// super(props);
// const user = {};
// this.state = {
// form: {
// agencyCode: user.agencyCode ?? ''
// }
// };
// }
class
DeleteModel
extends
BaseForm
{
constructor
(
props
)
{
super
(
props
);
const
user
=
{};
this
.
state
=
{
form
:
{
agencyCode
:
user
.
agencyCode
??
''
}
};
}
onCancel
=
()
=>
{
this
.
setState
({
form
:
{}
},
()
=>
{
this
.
props
.
onClose
&&
this
.
props
.
onClose
();
});
};
onSubmit
=
()
=>
{
const
{
selectedRowKeys
=
[],
dataConfig
=
{}
}
=
this
.
props
;
this
.
props
.
onClose
();
this
.
props
.
handleOpen
(
'logsVisible'
);
if
(
dataConfig
.
dimension
&&
selectedRowKeys
.
length
>
0
)
{
dataConfig
[
dataConfig
.
dimension
]
=
selectedRowKeys
.
join
(
','
);
}
deleteByAgencyCode
(
dataConfig
);
};
render
()
{
const
{
form
}
=
this
.
state
;
return
(
<
Form
style
=
{{
paddingRight
:
20
}}
ref
=
{
this
.
props
.
saveFormRef
}
model
=
{
form
}
labelWidth
=
"8em"
filled
>
<
FormItem
label
=
"所属机构"
field
=
"agencyCode"
>
<
Input
placeholder
=
"请输入"
value
=
{
form
.
agencyCode
}
onChange
=
{
this
.
genHandle
(
'agencyCode'
)}
/
>
<
/FormItem
>
<
/Form
>
);
}
}
DeleteModel
.
propTypes
=
{
saveFormRef
:
PropTypes
.
func
,
visible
:
PropTypes
.
bool
,
onClose
:
PropTypes
.
func
};
export
default
DeleteModel
;
packages/graphmod-tool/src/demo1/DeleteView.js
0 → 100644
View file @
c9d12f72
import
React
,
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
{
BarGroup
,
IconButton
,
briskWarningTip
}
from
'amos-designer'
;
import
*
as
api
from
'../api'
;
import
{
connectGlobalPage
}
from
'@gm/graphmod-common'
;
import
ExecuteProgress
from
'./ExecuteProgress'
;
import
DeleteModel
from
'./DeleteModel'
;
const
{
deleteByAgencyCode
}
=
api
;
/**
* 导出sql脚本模块
* @class DeleteView
* @extends {Component}
*/
// @connectGlobalPage({
// testDataConfig: {
// resourceCode: 'StudioApplication', // 标识
// dimension: 'appSeq', // 字段
// appSeq: '1620614032232841218',
// mqttUrl: 'ws://172.16.3.18:8088/mqtt',
// position:'header'
// }
// })
@
connectGlobalPage
({
testDataConfig
:
{
agencyCodeId
:
'1397143491787747330'
,
//机构ID
sequenceNbrs
:
'1676795341917782033,1676795341917782024'
,
//数据库连接sequenceNbrs
mqttUrl
:
'ws://172.16.3.18:8088/mqtt'
}
})
class
DeleteView
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
downloadVisible
:
false
,
logsVisible
:
false
,
selectId
:
''
};
}
handleClose
=
(
key
)
=>
{
this
.
setState
({
[
key
]:
false
});
};
handleOpen
=
(
key
)
=>
{
this
.
setState
({
[
key
]:
true
});
};
handleItemClick
=
()
=>
{
const
{
selectedRowKeys
=
[],
dataConfig
,
record
}
=
this
.
props
;
if
(
selectedRowKeys
.
length
>
0
||
record
)
{
this
.
setState
({
selectId
:
selectedRowKeys
.
length
===
0
?
record
.
id
??
record
.
sequenceNbr
:
''
,
logsVisible
:
true
},
()
=>
{
if
(
dataConfig
.
sequenceNbrs
&&
(
selectedRowKeys
.
length
>
0
||
record
))
{
dataConfig
[
dataConfig
.
sequenceNbrs
]
=
(
record
?
record
.
id
??
record
.
sequenceNbr
:
null
)
||
selectedRowKeys
.
join
(
','
);
deleteByAgencyCode
({
agencyCodeId
:
dataConfig
.
agencyCodeId
,
sequenceNbrs
:
dataConfig
.
sequenceNbrs
});
}
});
}
else
{
briskWarningTip
(
'至少选择一个数据库和一个机构'
);
}
// const { selectedRowKeys = [], dataConfig, record } = this.props;
// if (selectedRowKeys.length === 0 ) {
// this.setState({ selectId: dataConfig.sequenceNbrs, logsVisible: true }, () => {
// deleteByAgencyCode( dataConfig.agencyCodeId, dataConfig.sequenceNbrs );
// });
// } else {
// briskWarningTip('至少选择一个数据库');
// }
// debugger
// const { selectedRowKeys = [], dataConfig, record } = this.props;
// if (selectedRowKeys.length > 0 || record) {
// this.setState({ selectId: selectedRowKeys.length === 0 ? record.id ?? record.sequenceNbr : selectedRowKeys[0], logsVisible: true }, () => {
// if (dataConfig.dimension && (selectedRowKeys.length > 0 || record)) {
// dataConfig[dataConfig.dimension] = (record ? record.id ?? record.sequenceNbr : null) || selectedRowKeys.join(',');
// templateDownload({ resourceCode: dataConfig.resourceCode, dimension: dataConfig.dimension, [dataConfig.dimension]: dataConfig[dataConfig.dimension] });
// }
// });
// } else {
// briskWarningTip('至少选择一行数据');
// }
};
render
()
{
const
{
dataConfig
=
{}
}
=
this
.
props
;
const
{
logsVisible
,
selectId
,
downloadVisible
}
=
this
.
state
;
return
(
<
div
>
{
dataConfig
.
position
===
'header'
?
<
div
className
=
"ig-stage-toolbar-right"
>
<
BarGroup
label
=
"导出脚本"
mode
=
"none"
position
=
"right"
>
<
IconButton
colorful
icon
=
"export"
title
=
"导出SQL脚本"
style
=
{{
borderRadius
:
4
}}
onClick
=
{()
=>
this
.
handleItemClick
()}
/
>
<
/BarGroup
>
<
/div
>
:
<
p
onClick
=
{
this
.
handleItemClick
}
>
删除
<
/p
>
}
<
DeleteModel
visible
=
{
this
.
downloadVisible
}
onClose
=
{()
=>
this
.
handleClose
(
'downloadVisible'
)}
handleOpen
=
{()
=>
this
.
handleOpen
()}
dataConfig
=
{
dataConfig
}
/
>
<
ExecuteProgress
visible
=
{
logsVisible
}
mqttUrl
=
{
dataConfig
.
mqttUrl
}
exeId
=
{
selectId
}
onClose
=
{()
=>
this
.
handleClose
(
'logsVisible'
)}
/
>
<
/div
>
);
}
}
DeleteView
.
propTypes
=
{
selectedRowKeys
:
PropTypes
.
array
,
dataConfig
:
PropTypes
.
object
,
record
:
PropTypes
.
object
};
export
default
DeleteView
;
packages/graphmod-tool/src/demo1/ExecuteProgress.js
0 → 100644
View file @
c9d12f72
import
React
,
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
{
withSubscribeMQTT
,
parseMessage
,
MQTTProvider
}
from
'amos-mqtt'
;
import
{
Modal
,
briskWarningTip
}
from
'amos-designer'
;
import
ExecuteProgressContent
from
'./ExecuteProgressContent'
;
/**
* 执行进度
* @class ExecuteProgress
* @extends {ExecuteProgress}
*/
class
ExecuteProgress
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
content
:
null
,
data
:
{}
};
}
componentDidMount
()
{
this
.
initMqttTopic
();
}
componentDidUpdate
(
prevProps
,
prevState
)
{
if
(
this
.
props
.
exeId
!==
prevProps
.
exeId
)
{
this
.
initMqttTopic
();
}
}
initMqttTopic
=
()
=>
{
const
{
exeId
}
=
this
.
props
;
if
(
exeId
)
{
const
content
=
withSubscribeMQTT
({
topic
:
`/topicTable/solidify/
${
exeId
.
indexOf
(
','
)
!==
-
1
?
exeId
.
split
(
','
)[
0
]
:
exeId
}
`
,
dispatch
:
(
_topic
,
message
,
packet
)
=>
{
const
newMsg
=
parseMessage
(
message
);
this
.
setState
({
data
:
{
message
:
newMsg
,
messageFlag
:
Date
.
now
()
}
});
}
})(
ExecuteProgressContent
);
this
.
setState
({
content
});
}
}
cancel
=
()
=>
{
const
{
data
}
=
this
.
state
;
if
(
!
data
.
message
||
data
.
message
.
status
===
'running'
)
{
}
this
.
props
.
onClose
&&
this
.
props
.
onClose
();
}
render
()
{
const
{
visible
,
mqttUrl
}
=
this
.
props
;
const
{
data
,
content
:
Content
}
=
this
.
state
;
if
(
!
Content
)
{
return
null
;
}
return
(
<
MQTTProvider
url
=
{
mqttUrl
||
'/mqtt'
}
>
<
Modal
header
=
"立即执行进度"
visible
=
{
visible
}
width
=
{
474
}
noDefaultFooter
showMax
onCancel
=
{
this
.
cancel
}
outterClosable
=
{
false
}
content
=
{
<
Content
message
=
{
data
.
message
}
messageFlag
=
{
data
.
messageFlag
}
/
>
}
/
>
<
/MQTTProvider
>
);
}
}
ExecuteProgress
.
propTypes
=
{
visible
:
PropTypes
.
bool
,
onClose
:
PropTypes
.
func
,
exeId
:
PropTypes
.
string
,
mqttUrl
:
PropTypes
.
string
};
export
default
ExecuteProgress
;
packages/graphmod-tool/src/demo1/ExecuteProgressContent.js
0 → 100644
View file @
c9d12f72
import
React
,
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
{
Progress
}
from
'amos-framework'
;
/**
* 立即执行进度
* @class ExecuteProgressContent
* @extends {ExecuteProgress}
*/
class
ExecuteProgressContent
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
percent
:
0
,
status
:
'running'
,
flag
:
false
,
logs
:
[]
};
}
componentDidMount
()
{
this
.
onMessage
();
}
componentDidUpdate
(
prevProps
,
prevState
)
{
if
(
prevProps
.
messageFlag
!==
this
.
props
.
messageFlag
)
{
this
.
onMessage
();
}
}
onMessage
=
()
=>
{
const
{
message
}
=
this
.
props
;
const
{
status
,
percent
}
=
message
||
{};
if
(
status
)
{
const
{
logs
}
=
this
.
state
;
logs
.
push
(
message
);
this
.
setState
({
logs
,
percent
,
status
},
()
=>
{
this
.
scrollToBottom
();
});
}
}
scrollToBottom
=
()
=>
{
if
(
this
.
content
&&
this
.
content
.
scrollHeight
>
this
.
content
.
clientHeight
)
{
const
state
=
10
;
if
(
this
.
content
.
scrollHeight
-
this
.
content
.
clientHeight
>
state
)
{
this
.
content
.
scrollTop
=
this
.
content
.
scrollHeight
-
this
.
content
.
clientHeight
;
}
}
}
render
()
{
const
{
logs
,
status
,
percent
}
=
this
.
state
;
return
(
<
div
className
=
"ig-execute-progress"
>
<
Progress
percent
=
{
percent
}
strokeWidth
=
{
16
}
status
=
{
status
===
'error'
?
'exception'
:
status
===
'finished'
?
undefined
:
'active'
}
/
>
<
div
className
=
"ig-execute-progress-switch"
>
进度详情
<
/div
>
<
div
className
=
"ig-execute-progress-content"
ref
=
{
node
=>
this
.
content
=
node
}
>
<
ul
>
{
logs
.
map
((
e
,
index
)
=>
(
<
li
key
=
{
index
}
style
=
{{
color
:
e
.
status
===
'error'
?
'red'
:
''
}}
>
[{
e
.
time
}]
{
e
.
logInfo
}{
e
.
detail
}
<
/li
>
))
}
<
/ul
>
<
/div
>
<
/div
>
);
}
}
ExecuteProgressContent
.
propTypes
=
{
messageFlag
:
PropTypes
.
number
,
message
:
PropTypes
.
object
};
export
default
ExecuteProgressContent
;
packages/graphmod-tool/src/demo1/ccs.js
0 → 100644
View file @
c9d12f72
import
mods1
from
'@gm/graphmod-ccs'
;
import
mods2
from
'@gm/graphmod-command'
;
import
{
configs
,
initConfig
}
from
'./config'
;
initConfig
(
configs
);
const
graghmod
=
{
...
mods1
,
...
mods2
};
export
default
graghmod
;
packages/graphmod-tool/src/demo1/config.js
0 → 100644
View file @
c9d12f72
// 根据不同项目引用不同子项目的config.json配置
const
configs
=
[
// { name: 'team', source: 'packages/graphmod-team/config.json' }
];
// 加载配置
function
initConfig
()
{
window
.
gmconfig
=
{};
configs
.
forEach
(
e
=>
{
const
version
=
window
.
hybridModular
.
version
||
''
;
const
prefix
=
version
.
includes
(
'/'
)
?
version
:
`/external/graphmod/
${
version
}
`
;
fetch
(
`
${
prefix
}
/
${
e
.
name
}
.config.json`
)
.
then
(
respone
=>
respone
.
json
())
.
then
(
d
=>
{
window
.
gmconfig
=
{
...
window
.
gmconfig
,
...
d
||
{}
};
});
});
}
module
.
exports
=
{
configs
,
initConfig
};
packages/graphmod-tool/src/demo1/index.js
0 → 100644
View file @
c9d12f72
import
DeleteView
from
'./DeleteView'
;
import
'./index.scss'
;
export
default
[
{
key
:
'dataBase-delete'
,
component
:
DeleteView
}
];
packages/graphmod-tool/src/demo1/index.scss
0 → 100644
View file @
c9d12f72
.ig-execute-progress
{
.amos-progress
{
margin-bottom
:
12px
;
&
.amos-progress-status-exception
{
.amos-progress-bg
{
background-color
:
red
;
border-radius
:
0
;
}
}
.amos-progress-inner
{
background-image
:
linear-gradient
(
180deg
,
#eaeaea
0%
,
white
100%
);
border
:
1px
solid
#e6e6e6
;
border-radius
:
0
;
box-shadow
:
0
3px
6px
rgba
(
0
,
0
,
0
,
0
.16
);
}
.amos-progress-bg
{
background-color
:
#25ae16
;
border-radius
:
0
;
}
}
&
-switch
{
margin-bottom
:
18px
;
}
&
-content
{
height
:
300px
;
padding
:
15px
18px
;
overflow-y
:
auto
;
font-size
:
13px
;
line-height
:
20px
;
color
:
#0060ff
;
border
:
1px
solid
#e2e2e2
;
}
}
packages/graphmod-tool/src/demo1/tool.js
0 → 100644
View file @
c9d12f72
import
mods1
from
'@gm/graphmod-tool'
;
import
{
configs
,
initConfig
}
from
'./config'
;
initConfig
(
configs
);
const
graghmod
=
{
...
mods1
};
export
default
graghmod
;
packages/graphmod-tool/src/index.js
View file @
c9d12f72
...
@@ -2,9 +2,10 @@ import { chainModResult } from 'amos-viz/lib/widgets/modLoader';
...
@@ -2,9 +2,10 @@ import { chainModResult } from 'amos-viz/lib/widgets/modLoader';
import
'./index.scss'
;
import
'./index.scss'
;
import
'./cssvar.scss'
;
import
'./cssvar.scss'
;
import
demo1
from
'./demo1'
;
const
IMods
=
[
const
IMods
=
[
...
demo1
,
];
];
export
default
chainModResult
(
IMods
).
mods
;
export
default
chainModResult
(
IMods
).
mods
;
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