Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
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
劳工
zeroing-editor
Commits
9d65fff6
Commit
9d65fff6
authored
Jan 06, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本锁定分支前提交
parent
9eb354b0
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1403 additions
and
2263 deletions
+1403
-2263
index.html
public/index.html
+1
-1
Editor.vue
src/views/Editor.vue
+5
-2
NodeSelectInput.vue
src/views/Editor/behavior-editor/inputs/NodeSelectInput.vue
+1
-0
vue.config.js
vue.config.js
+1
-1
yarn.lock
yarn.lock
+1395
-2259
No files found.
public/index.html
View file @
9d65fff6
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</noscript>
</noscript>
<script>
<script>
window
.
__data
=
{
window
.
__data
=
{
token
:
"<%= process.env.NODE_ENV === 'development' ? 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mj
U0NywibmFtZSI6IuWNnum-meS6rSIsImFjY291bnQiOiJiaWFubG9uZ3RpbmciLCJlbWFpbCI6ImJpYW5sb25ndGluZ0BkdWliYS5jb20uY24iLCJtb2JpbGUiOiIxNTg2OTE3NDMxMSIsImRpbmdVc2VySWQiOiIwMTE1MTgyMTEyMjE3OTYzNzAiLCJtb2RlbEF1dGhvcml6ZSI6ZmFsc2UsImxvZ2luVGltZW91dCI6NzczNjEsImdtdENyZWF0ZSI6MTU1OTUyNjcxNDAwMCwiZ210TW9kaWZpZWQiOjE1NzM3NDk1OTEwMDAsInN5c3RlbUlkU2V0IjpbMCwxLDM0LDM2LDM3LDIzMSwyMDMsNDQsMTksMjEsMjQ2LDIzLDI0OSwyNSwyNywzMF0sImlhdCI6MTU3Nzk1MjgxNH0.GNeP25ZZK5ca7rvwtj2BaQ3GZatGNSR3CthSN98PSD4
' : '$TOKEN$' %>"
,
token
:
"<%= process.env.NODE_ENV === 'development' ? 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mj
A4NSwibmFtZSI6IuWKs-eQquWzsCIsImFjY291bnQiOiJsYW9xaWZlbmciLCJlbWFpbCI6Imxhb3FpZmVuZ0BkdWliYS5jb20uY24iLCJtb2JpbGUiOiIxMzQ1Njc3NDE1MyIsImRpbmdVc2VySWQiOiI1MDY5MDYyOTIxMjkxMDAxIiwibW9kZWxBdXRob3JpemUiOmZhbHNlLCJsb2dpblRpbWVvdXQiOjgzMzUzLCJnbXRDcmVhdGUiOjE1MzQ0MTIwMTUwMDAsImdtdE1vZGlmaWVkIjoxNTczODgyMDk2MDAwLCJzeXN0ZW1JZFNldCI6WzAsMSwzNCwyMjcsMzYsMzcsMjMxLDIwMyw0NCwxOSwyMSwyNDYsMjMsMjQ5LDI1LDI3LDMwXSwiaWF0IjoxNTc4Mjc3OTg5fQ.mm6T34NuMBwTKaLBbVOI5AqGQNC9rwfiAdIv8c4C4_I
' : '$TOKEN$' %>"
,
apiHost
:
"<%= process.env.NODE_ENV === 'development' ? 'http://beacon.duibadev.com.cn' : '$API_HOST$' %>"
apiHost
:
"<%= process.env.NODE_ENV === 'development' ? 'http://beacon.duibadev.com.cn' : '$API_HOST$' %>"
}
}
</script>
</script>
...
...
src/views/Editor.vue
View file @
9d65fff6
...
@@ -88,12 +88,15 @@
...
@@ -88,12 +88,15 @@
});
});
await
playWaiting
(
this
.
prepare
(),
this
.
$t
(
'Preparing'
)).
catch
(
e
=>
{
await
playWaiting
(
this
.
prepare
(),
this
.
$t
(
'Preparing'
)).
catch
(
e
=>
{
console
.
log
(
e
);
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
startCodeSyncServe
(
this
.
codeSyncServeConfig
);
//
startCodeSyncServe(this.codeSyncServeConfig);
},
100
);
},
100
);
this
.
loadProject
();
this
.
loadProject
().
catch
(
e
=>
{
console
.
log
(
e
);
});
},
},
destroyed
()
{
destroyed
()
{
document
.
removeEventListener
(
'keydown'
,
this
.
onKeyPress
)
document
.
removeEventListener
(
'keydown'
,
this
.
onKeyPress
)
...
...
src/views/Editor/behavior-editor/inputs/NodeSelectInput.vue
View file @
9d65fff6
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
<div>
<div>
<el-scrollbar
class=
"tree-scrollbar"
wrap-class=
"wrap-x-hidden"
>
<el-scrollbar
class=
"tree-scrollbar"
wrap-class=
"wrap-x-hidden"
>
<el-tree
<el-tree
v-if=
"popoverVisible"
:data=
"behavior_views"
:data=
"behavior_views"
:props=
"defaultProps"
:props=
"defaultProps"
:expand-on-click-node=
"false"
:expand-on-click-node=
"false"
...
...
vue.config.js
View file @
9d65fff6
...
@@ -28,7 +28,7 @@ module.exports = {
...
@@ -28,7 +28,7 @@ module.exports = {
plugins
:
[
plugins
:
[
new
MonacoWebpackPlugin
({
new
MonacoWebpackPlugin
({
languages
:
[
'javascript'
,
'typescript'
,
'json'
],
languages
:
[
'javascript'
,
'typescript'
,
'json'
],
output
:
"/monaco"
publicPath
:
process
.
env
.
NODE_ENV
===
'production'
?
"/monaco"
:
""
,
})
})
]
]
}
}
...
...
yarn.lock
View file @
9d65fff6
This diff is collapsed.
Click to expand it.
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