27599
This commit is contained in:
@@ -201,12 +201,6 @@ export default {
|
||||
back() {
|
||||
uni.navigateBack({})
|
||||
},
|
||||
onChange(e) {
|
||||
},
|
||||
|
||||
removeComponent(index) {
|
||||
this.targetList.splice(index, 1)
|
||||
},
|
||||
|
||||
toPreview() {
|
||||
let {form, targetList} = this
|
||||
@@ -236,6 +230,12 @@ export default {
|
||||
uni.chooseImage(params)
|
||||
},
|
||||
|
||||
removeComponent(index) {
|
||||
this.$confirm('确定删除该题', '').then(() => {
|
||||
this.targetList.splice(index, 1)
|
||||
}).catch(() => {})
|
||||
},
|
||||
|
||||
uploadFile(img) {
|
||||
uni.showLoading({title: '上传中'})
|
||||
let formData = new FormData()
|
||||
|
||||
Reference in New Issue
Block a user