27599
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
"postcss-comment": "^2.0.0",
|
"postcss-comment": "^2.0.0",
|
||||||
"query-string": "^7.1.1",
|
"query-string": "^7.1.1",
|
||||||
"uview-ui": "^1.8.4",
|
"uview-ui": "^1.8.4",
|
||||||
"vconsole": "^3.11.2",
|
"vconsole": "^3.12.1",
|
||||||
"vue-template-compiler": "^2.6.11"
|
"vue-template-compiler": "^2.6.11"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|||||||
@@ -201,12 +201,6 @@ export default {
|
|||||||
back() {
|
back() {
|
||||||
uni.navigateBack({})
|
uni.navigateBack({})
|
||||||
},
|
},
|
||||||
onChange(e) {
|
|
||||||
},
|
|
||||||
|
|
||||||
removeComponent(index) {
|
|
||||||
this.targetList.splice(index, 1)
|
|
||||||
},
|
|
||||||
|
|
||||||
toPreview() {
|
toPreview() {
|
||||||
let {form, targetList} = this
|
let {form, targetList} = this
|
||||||
@@ -236,6 +230,12 @@ export default {
|
|||||||
uni.chooseImage(params)
|
uni.chooseImage(params)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
removeComponent(index) {
|
||||||
|
this.$confirm('确定删除该题', '').then(() => {
|
||||||
|
this.targetList.splice(index, 1)
|
||||||
|
}).catch(() => {})
|
||||||
|
},
|
||||||
|
|
||||||
uploadFile(img) {
|
uploadFile(img) {
|
||||||
uni.showLoading({title: '上传中'})
|
uni.showLoading({title: '上传中'})
|
||||||
let formData = new FormData()
|
let formData = new FormData()
|
||||||
|
|||||||
Reference in New Issue
Block a user