This commit is contained in:
yanran200730
2022-02-28 10:20:35 +08:00
parent 2c8bdd3766
commit c3f983f2d8
2 changed files with 7 additions and 7 deletions

View File

@@ -72,7 +72,7 @@
"postcss-comment": "^2.0.0",
"query-string": "^7.1.1",
"uview-ui": "^1.8.4",
"vconsole": "^3.11.2",
"vconsole": "^3.12.1",
"vue-template-compiler": "^2.6.11"
},
"browserslist": [

View File

@@ -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()