+
@@ -210,7 +210,7 @@ export default {
])
},
watch: {
- value: function (val) {
+ value: function(val) {
this.myValue = val
}
},
@@ -252,10 +252,10 @@ export default {
this.materialgroupLoading = true
materialgroupPage({
total: 0, // 总页数
- currentPage: 1, // 当前页数
- pageSize: 100, // 每页显示多少条
+ page: 1, // 当前页数
+ size: 100, // 每页显示多少条
ascs: [], // 升序字段
- descs: 'create_time'// 降序字段
+ sort: 'create_time,desc'// 降序字段
}).then(response => {
this.materialgroupLoading = false
const materialgroupList = response.content
@@ -454,7 +454,7 @@ export default {
return isPic && isLt2M
},
sureUrls() {
- console.log('this.urls:'+this.urls)
+ console.log('this.urls:' + this.urls)
this.myValue = this.urls[0]
this.$emit('input', this.urls[0])
this.listDialogVisible = false