Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
quantum-blocks
Commits
4e0237a2
Commit
4e0237a2
authored
Sep 23, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(saveModal): 保存弹框文案修改
parent
f9288370
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.ts
app/web/page/editor/component/BasicPageFormModal/index.ts
+1
-1
index.vue
app/web/page/editor/component/BasicPageFormModal/index.vue
+2
-2
No files found.
app/web/page/editor/component/BasicPageFormModal/index.ts
View file @
4e0237a2
...
@@ -74,7 +74,7 @@ export default class DynamicForm extends Vue {
...
@@ -74,7 +74,7 @@ export default class DynamicForm extends Vue {
}
}
validateOpenMethod
(
rule
,
value
,
callback
)
{
validateOpenMethod
(
rule
,
value
,
callback
)
{
if
(
!
value
&&
this
.
enableShare
)
{
if
(
!
value
&&
this
.
enableShare
)
{
callback
(
new
Error
(
'
请选择
H5
打开方式
'
));
callback
(
new
Error
(
'
请选择
分享
打开方式
'
));
}
else
{
}
else
{
callback
();
callback
();
}
}
...
...
app/web/page/editor/component/BasicPageFormModal/index.vue
View file @
4e0237a2
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
<Upload
v-model=
"formCustom.shareCoverImage"
:show-input=
"false"
/>
<Upload
v-model=
"formCustom.shareCoverImage"
:show-input=
"false"
/>
<p
class=
"basic-form__tip"
>
可选,默认使用页面缩略图,建议图片比例1:1,图片格式jpg、png
</p>
<p
class=
"basic-form__tip"
>
可选,默认使用页面缩略图,建议图片比例1:1,图片格式jpg、png
</p>
</FormItem>
</FormItem>
<FormItem
label=
"
H5
打开方式"
prop=
"shareOpenMethod"
>
<FormItem
label=
"
分享
打开方式"
prop=
"shareOpenMethod"
>
<RadioGroup
v-model=
"formCustom.shareOpenMethod"
>
<RadioGroup
v-model=
"formCustom.shareOpenMethod"
>
<Radio
:label=
"1"
:disabled=
"!enableShare"
>
小程序
</Radio>
<Radio
:label=
"1"
:disabled=
"!enableShare"
>
小程序
</Radio>
<Radio
:label=
"2"
:disabled=
"!enableShare"
>
APP
</Radio>
<Radio
:label=
"2"
:disabled=
"!enableShare"
>
APP
</Radio>
</RadioGroup>
</RadioGroup>
<p
class=
"basic-form__tip"
>
当分享功能未启用时,此处不可选
</p>
<p
class=
"basic-form__tip"
>
在H5中打开哪一个终端,
当分享功能未启用时,此处不可选
</p>
</FormItem>
</FormItem>
<FormItem
label=
"是否发布"
prop=
"isPublish"
>
<FormItem
label=
"是否发布"
prop=
"isPublish"
>
<i-switch
v-model=
"formCustom.isPublish"
></i-switch>
<i-switch
v-model=
"formCustom.isPublish"
></i-switch>
...
...
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