Commit 151d128e by lixiaomin

修改全局基础配置的左侧照片上传限制

parent fadc8bb2
......@@ -34,7 +34,7 @@ export default {
// 图片数量限制
limit: {
type: Number,
default: 5,
default: 100,
},
// 大小限制(MB)
......
<template>
<div >
<ImageUpload @callback="submit" v-model="value" :limit="2" />
<ImageUpload @callback="submit" v-model="value" />
</div>
</template>
......@@ -24,9 +24,7 @@ export default {
},
methods: {
submit() {
console.log(" this.value1", this.value);
this.$nextTick(() => {
console.log(" this.value2", JSON.stringify(this.value));
updateConfig({ ...this.initValue, configValue: JSON.stringify(this.value) }).then(res => {
this.$modal.msgSuccess("修改成功");
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment