Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
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
hooloo
web
soss
Commits
151d128e
Commit
151d128e
authored
2 years ago
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改全局基础配置的左侧照片上传限制
parent
fadc8bb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/components/ImageUpload/index.vue
+1
-1
src/views/system/base/components/leftImg.vue
+1
-3
No files found.
src/components/ImageUpload/index.vue
View file @
151d128e
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ export default {
// 图片数量限制
// 图片数量限制
limit
:
{
limit
:
{
type
:
Number
,
type
:
Number
,
default
:
5
,
default
:
100
,
},
},
// 大小限制(MB)
// 大小限制(MB)
...
...
This diff is collapsed.
Click to expand it.
src/views/system/base/components/leftImg.vue
View file @
151d128e
<
template
>
<
template
>
<div
>
<div
>
<ImageUpload
@
callback=
"submit"
v-model=
"value"
:limit=
"2"
/>
<ImageUpload
@
callback=
"submit"
v-model=
"value"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -24,9 +24,7 @@ export default {
...
@@ -24,9 +24,7 @@ export default {
},
},
methods
:
{
methods
:
{
submit
()
{
submit
()
{
console
.
log
(
" this.value1"
,
this
.
value
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
console
.
log
(
" this.value2"
,
JSON
.
stringify
(
this
.
value
));
updateConfig
({
...
this
.
initValue
,
configValue
:
JSON
.
stringify
(
this
.
value
)
}).
then
(
res
=>
{
updateConfig
({
...
this
.
initValue
,
configValue
:
JSON
.
stringify
(
this
.
value
)
}).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
$modal
.
msgSuccess
(
"修改成功"
);
})
})
...
...
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