Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lowcode-electron
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
electron
lowcode-electron
Commits
1e8368dd
Commit
1e8368dd
authored
Aug 07, 2023
by
韵晨龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新启动方式
parent
eac741f8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
chunk-2d0a4bfc.3e614197.js
baseServer/paas/js/chunk-2d0a4bfc.3e614197.js
+2
-0
chunk-2d21a736.e62c0f35.js
baseServer/paas/js/chunk-2d21a736.e62c0f35.js
+0
-2
chunk-vendors.1cca1189.js
baseServer/paas/js/chunk-vendors.1cca1189.js
+0
-0
No file name available
+0
-0
No files found.
baseServer/paas/js/chunk-2d0a4bfc.3e614197.js
0 → 100644
View file @
1e8368dd
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-2d0a4bfc"
],{
"0886"
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
r
(
t
);
var
o
=
a
(
"8bbf"
),
c
=
a
(
"1d9a"
),
l
=
a
(
"ce05"
),
n
=
a
(
"be66"
),
i
=
a
(
"60bb"
),
d
=
a
(
"dd3b"
),
s
=
a
(
"674e"
),
r
=
a
(
"9aa8"
),
u
=
a
(
"68e0"
);
const
v
=
{},
b
=
()
=>
{
const
e
=
()
=>
{
const
{
SAVE
:
e
,
PREVIEW
:
t
}
=
c
[
"gc"
];
v
[
e
]
=
new
Event
(
e
),
v
[
t
]
=
new
Event
(
t
)},
t
=
e
=>
{
const
t
=
v
[
e
];
t
&&
document
.
dispatchEvent
(
t
)};
return
{
createDesignerEvent
:
e
,
notifyDesignerEvent
:
t
}},
p
=
({
widgets
:
e
,
modelCode
:
t
})
=>
{
const
{
appData
:
a
,
pageCode
:
o
}
=
Object
(
s
[
"b"
])(),{
notifyDesignerEvent
:
i
}
=
b
();
return
Object
(
l
[
"b"
])(()
=>
{
let
l
=
[];
const
n
=
new
c
[
"Ib"
](
e
.
value
);
return
c
[
"x"
].
validate
(
e
.
value
)?(
l
=
n
.
batchAddFieldName
(),
i
(
c
[
"gc"
].
SAVE
),
d
[
"a"
].
metaData
.
savePageMetaData
({
appId
:
a
.
value
.
id
,
pageCode
:
o
.
value
,
data
:{
widgets
:
e
.
value
,
modelCode
:
t
.
value
}}).
then
(()
=>
{
n
.
batchAddSavedFlag
(
l
)})):
Promise
.
reject
()},{
onSuccess
(){
n
[
"ElMessage"
].
success
({
message
:
"保存成功"
,
showClose
:
!
0
})}})},
j
=
(
e
,
t
=
i
[
"noop"
])
=>
{
const
{
setRenderButton
:
a
,
appId
:
c
,
platformId
:
l
,
pageCode
:
n
}
=
Object
(
s
[
"b"
])(),{
isLoading
:
d
,
mutate
:
r
}
=
p
(
e
),{
createDesignerEvent
:
v
}
=
b
(),
j
=
Object
(
u
[
"a"
])();
v
(),
a
(()
=>
Object
(
o
[
"createVNode"
])(
o
[
"Fragment"
],
null
,[
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"FormPreview"
),{
platformId
:
l
.
value
,
appId
:
c
.
value
,
pageCode
:
n
.
value
,
widgets
:
e
.
widgets
.
value
,
variables
:
j
.
value
},
null
),
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"ssu-button"
),{
loading
:
d
.
value
,
onClick
:
r
,
type
:
"primary"
},{
default
:()
=>
[
Object
(
o
[
"createTextVNode"
])(
"保存"
)]})]))},
O
=
()
=>
{
const
e
=
Object
(
o
[
"ref"
])(),
t
=
Object
(
o
[
"ref"
])([]),
a
=
Object
(
o
[
"ref"
])([]),{
appData
:
c
,
pageCode
:
n
}
=
Object
(
s
[
"b"
])(),
i
=
Object
(
o
[
"computed"
])(()
=>
{
var
e
;
return
null
===
(
e
=
c
.
value
)
||
void
0
===
e
?
void
0
:
e
.
id
}),
r
=
Object
(
o
[
"computed"
])(()
=>
{
const
e
=!!
i
.
value
&&!!
n
.
value
;
return
e
}),{
isLoading
:
u
}
=
Object
(
l
[
"d"
])([
"pageMetaData"
,
i
,
n
],()
=>
d
[
"a"
].
metaData
.
getPageMetaData
({
appId
:
i
.
value
,
pageCode
:
n
.
value
}),{
enabled
:
r
,
onSuccess
(
o
){
const
c
=
o
.
content
||
{};
t
.
value
=
c
.
widgets
||
[],
a
.
value
=
c
.
systemAttributes
||
[],
e
.
value
=
c
.
modelCode
||
""
}});
return
{
isLoading
:
u
,
modelCode
:
e
,
widgets
:
t
,
systemAttributes
:
a
}},
m
=
()
=>
{
const
{
locale
:
e
}
=
Object
(
r
[
"b"
])();
return
{
locale
:
e
}},
g
=
()
=>
{
const
{
notifyDesignerEvent
:
e
}
=
b
(),
t
=
Object
(
o
[
"ref"
])(
!
1
),
a
=
()
=>
{
e
(
c
[
"gc"
].
PREVIEW
),
t
.
value
=!
0
},
l
=
()
=>
{
t
.
value
=!
1
};
return
{
open
:
a
,
close
:
l
,
visible
:
t
}},
w
=
Object
(
c
[
"Vb"
])(()
=>
{
const
{
isLoading
:
e
,
widgets
:
t
,
systemAttributes
:
a
,
modelCode
:
o
}
=
O
(),{
visible
:
c
,
open
:
l
,
close
:
n
}
=
g
();
return
j
({
widgets
:
t
,
modelCode
:
o
},
l
),{
isLoading
:
e
,
widgets
:
t
,
systemAttributes
:
a
,
modelCode
:
o
,
visible
:
c
,
close
:
n
,
open
:
l
,
context
:
m
()}},
"appFormDesign"
),
C
=
()
=>
w
.
useInject
();
var
V
=
w
,
f
=
a
(
"4c65"
),
N
=
a
.
n
(
f
),
D
=
a
(
"ffe6"
),
h
=
a
(
"e6d0"
);
const
y
=
Object
(
c
[
"Vb"
])(({
props
:
e
,
emit
:
t
})
=>
{
const
{
isMobile
:
a
,
isPc
:
o
,
activeDevice
:
c
,
toggleDevice
:
l
}
=
Object
(
D
[
"f"
])(),
n
=
Object
(
h
[
"useVModel"
])(
e
),{
widgets
:
i
}
=
C
(),
d
=
()
=>
{
n
.
value
=!
1
,
l
({
value
:
"pc"
}),
t
(
"close"
)};
return
{
isMobile
:
a
,
isPc
:
o
,
toggleDevice
:
l
,
activeDevice
:
c
,
widgets
:
i
,
data
:
n
,
close
:
d
}}),
I
=
Object
(
o
[
"defineComponent"
])(()
=>
{
const
{
close
:
e
,
toggleDevice
:
t
,
activeDevice
:
a
}
=
y
.
useInject
(),
c
=
Object
(
o
[
"reactive"
])([{
value
:
"pc"
,
icon
:
"pc"
},{
value
:
"mobile"
,
icon
:
"shoujiduan"
}]);
return
()
=>
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
previewHeader
},[
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
left
},[
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
previewTitle
},[
Object
(
o
[
"createTextVNode"
])(
"表单预览"
)])]),
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
middle
},[
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
switchDevice
},[
c
.
map
(
e
=>
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:{[
N
.
a
.
deviceItem
]:
!
0
,[
N
.
a
.
active
]:
a
.
value
===
e
.
value
},
key
:
e
.
value
,
onClick
:()
=>
t
(
e
)},[
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"syc-icon"
),{
width
:
24
,
height
:
24
,
type
:
e
.
icon
},
null
)]))])]),
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
right
},[
Object
(
o
[
"createVNode"
])(
"div"
,{
onClick
:
e
,
class
:
N
.
a
.
previewClose
},[
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"syc-icon"
),{
type
:
"guanbi"
,
width
:
20
,
height
:
20
,
color
:
"#C0C4CE"
},
null
)])])])}),
E
=
Object
(
o
[
"defineComponent"
])(()
=>
{
const
{
widgets
:
e
,
isMobile
:
t
}
=
y
.
useInject
(),
a
=
Object
(
o
[
"ref"
])(),
l
=
Object
(
o
[
"ref"
])(
!
0
),
n
=
Object
(
o
[
"computed"
])(()
=>
window
.
location
.
origin
+
"/"
),
i
=
Object
(
o
[
"computed"
])(()
=>
n
.
value
+
"/render.html#/render/preview"
),{
appId
:
d
,
pageCode
:
r
,
platformId
:
u
}
=
Object
(
s
[
"b"
])(),{
update
:
v
}
=
Object
(
c
[
"Md"
])({
role
:
c
[
"qc"
].
Parent
,
iframeRef
:
a
,
initialState
:{
widgets
:
e
.
value
,
isMobile
:
t
.
value
,
appId
:
d
.
value
,
pageCode
:
r
.
value
,
platformId
:
u
.
value
}});
return
Object
(
o
[
"watch"
])(()
=>
t
.
value
,()
=>
{
v
({
isMobile
:
t
.
value
})}),()
=>
Object
(
o
[
"withDirectives"
])(
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:{[
N
.
a
.
previewContent
]:
!
0
,[
N
.
a
.
isMobile
]:
t
.
value
}},[
Object
(
o
[
"createVNode"
])(
"iframe"
,{
onLoad
:()
=>
{
l
.
value
=!
1
},
ref
:
a
,
src
:
i
.
value
},
null
)]),[[
Object
(
o
[
"resolveDirective"
])(
"loading"
),
l
.
value
]])}),
M
=
Object
(
o
[
"defineComponent"
])({
name
:
"PreviewDrawerForm"
,
props
:{
modelValue
:{
type
:
Boolean
,
default
:
!
1
}},
emits
:[
"close"
,
"update:modelValue"
],
setup
(
e
,{
emit
:
t
}){
const
{
data
:
a
}
=
y
.
useProvide
({
props
:
e
,
emit
:
t
});
return
()
=>
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"el-drawer"
),{
direction
:
"btt"
,
"append-to-body"
:
!
0
,
size
:
"100%"
,
"custom-class"
:
N
.
a
.
previewContainer
,
modelValue
:
a
.
value
,
"onUpdate:modelValue"
:
e
=>
a
.
value
=
e
,
"destroy-on-close"
:
!
0
,
"show-close"
:
!
1
},{
default
:()
=>
[
a
.
value
&&
Object
(
o
[
"createVNode"
])(
E
,
null
,
null
)],
title
:()
=>
Object
(
o
[
"createVNode"
])(
I
,
null
,
null
)})}});
var
P
=
a
(
"6389"
);
const
k
=
Object
(
o
[
"defineComponent"
])(()
=>
{
const
{
isLoading
:
e
,
context
:
t
,
widgets
:
a
,
systemAttributes
:
l
,
visible
:
n
,
modelCode
:
i
}
=
V
.
useProvide
(),{
appData
:
d
,
pageData
:
r
,
platformId
:
u
}
=
Object
(
s
[
"b"
])(),{
isLoading
:
v
,
mutate
:
b
}
=
p
({
widgets
:
a
,
modelCode
:
i
}),
j
=
Object
(
o
[
"ref"
])(
!
1
),
O
=
Object
(
o
[
"ref"
])(
null
),
m
=
Object
(
o
[
"ref"
])(
null
),
g
=
Object
(
o
[
"inject"
])(
"activeTab"
);
Object
(
P
[
"onBeforeRouteLeave"
])((
e
,
t
,
o
)
=>
{
m
.
value
=
new
c
[
"Ib"
](
a
.
value
);
let
l
=!
0
;
m
.
value
.
each
((
e
,
t
,
a
,
o
)
=>
{
e
.
widgetType
!==
c
[
"Jb"
].
FORM
||
e
.
saved
||
(
l
=!
1
)}),
l
?
o
():(
j
.
value
=!
0
,
O
.
value
=
o
)});
const
w
=
({
isContinue
:
e
}
=
{})
=>
{
j
.
value
=!
1
,
!
e
&&
g
&&
(
g
.
value
=
"form"
)},
C
=
()
=>
{
var
e
;
null
===
(
e
=
O
.
value
)
||
void
0
===
e
||
e
.
call
(
O
),
w
({
isContinue
:
!
0
})},
f
=
()
=>
{
var
e
;
b
(),
null
===
(
e
=
O
.
value
)
||
void
0
===
e
||
e
.
call
(
O
),
w
({
isContinue
:
!
0
})};
return
()
=>
Object
(
o
[
"withDirectives"
])(
Object
(
o
[
"createVNode"
])(
"div"
,{
class
:
N
.
a
.
container
,
"element-loading-text"
:
"正在获取元数据"
},[
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"FormDesigner"
),{
language
:
t
.
locale
.
value
,
routes
:{
designer
:
"//render.html#/render/designer"
},
platformId
:
u
.
value
,
modelValue
:
a
.
value
,
"onUpdate:modelValue"
:
e
=>
a
.
value
=
e
,
appData
:
d
.
value
,
pageData
:
r
.
value
,
systemAttributes
:
l
.
value
,
onToFormDesign
:(
e
=
{})
=>
{
window
.
open
(
`
${
window
.
origin
}
/#/platform/
${
e
.
platformId
}
/app/
${
e
.
appId
}
/design/
${
e
.
pageCode
}
/form`
,
e
.
title
,
"_blank"
)}},
null
),
Object
(
o
[
"createVNode"
])(
M
,{
modelValue
:
n
.
value
,
"onUpdate:modelValue"
:
e
=>
n
.
value
=
e
},
null
),
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"BaseDialog"
),{
modelValue
:
j
.
value
,
size
:
"mini"
,
title
:
"表单设计有修改,是否保存?"
,
onClose
:
w
},{
default
:()
=>
[
Object
(
o
[
"createTextVNode"
])(
"当前有尚未保存的更改,您在离开当前页面前是否需要保存这些更改。"
)],
default
:()
=>
Object
(
o
[
"createVNode"
])(
"div"
,{
style
:{
whiteSpace
:
"nowrap"
}},[
Object
(
o
[
"createTextVNode"
])(
"当前更改尚未保存,您在离开当前页面前是否需要保存这些更改。"
)]),
footer
:()
=>
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"el-space"
),
null
,{
default
:()
=>
[
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"ssu-button"
),{
onClick
:
w
},{
default
:()
=>
[
Object
(
o
[
"createTextVNode"
])(
"取消操作"
)]}),
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"ssu-button"
),{
onClick
:
C
},{
default
:()
=>
[
Object
(
o
[
"createTextVNode"
])(
"不保存"
)]}),
Object
(
o
[
"withDirectives"
])(
Object
(
o
[
"createVNode"
])(
Object
(
o
[
"resolveComponent"
])(
"ssu-button"
),{
onClick
:
f
,
type
:
"primary"
},{
default
:()
=>
[
Object
(
o
[
"createTextVNode"
])(
"保存并继续"
)]}),[[
Object
(
o
[
"resolveDirective"
])(
"loading"
),
v
.
value
]])]})})]),[[
Object
(
o
[
"resolveDirective"
])(
"loading"
),
e
.
value
]])});
t
[
"default"
]
=
k
}}]);
\ No newline at end of file
baseServer/paas/js/chunk-2d21a736.e62c0f35.js
deleted
100644 → 0
View file @
eac741f8
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"chunk-2d21a736"
],{
bc21
:
function
(
e
,
o
,
t
){
"use strict"
;
t
.
r
(
o
);
var
a
=
t
(
"8bbf"
),
p
=
t
(
"6389"
),
n
=
t
(
"be66"
),
r
=
t
(
"9aa8"
);
const
d
=
Object
(
a
[
"defineComponent"
])({
name
:
"AppManagePage"
,
setup
(){
const
{
params
:
e
}
=
Object
(
p
[
"useRoute"
])(),
o
=
Object
(
p
[
"useRouter"
])(),{
t
:
t
}
=
Object
(
r
[
"b"
])(),
d
=
()
=>
{
if
(
e
.
platformId
)
return
e
.
platformId
;
Object
(
n
[
"ElMessage"
])({
type
:
"warning"
,
message
:
t
(
"appManage.notPlatformIdError"
)}),
o
.
push
(
"/workbench"
)},
l
=
t
=>
{
"form"
===
t
.
driveType
?
o
.
push
(
`/platform/
${
e
.
platformId
}
/app/
${
t
.
id
}
/page`
):
window
.
location
.
href
=
`http://localhost:45625/#/
${
t
.
id
}
/model`
},
s
=
t
=>
{(
null
===
t
||
void
0
===
t
?
void
0
:
t
.
id
)
&&
e
.
platformId
&&
o
.
push
(
`/platform/
${
e
.
platformId
}
/app/
${
t
.
id
}
/settings/baseInfo`
)};
return
Object
(
a
[
"onMounted"
])(
d
),()
=>
Object
(
a
[
"createVNode"
])(
Object
(
a
[
"resolveComponent"
])(
"AppManage"
),{
platformId
:
e
.
platformId
,
isAllowDelete
:
!
0
,
isAllowAdd
:
!
0
,
onGoToAppManagePage
:
l
,
onGoToAppSetting
:
s
},
null
)}});
o
[
"default"
]
=
d
}}]);
\ No newline at end of file
baseServer/paas/js/chunk-vendors.1
6e1c677
.js
→
baseServer/paas/js/chunk-vendors.1
cca1189
.js
View file @
1e8368dd
This source diff could not be displayed because it is too large. You can
view the blob
instead.
View file @
1e8368dd
No preview for this file type
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