Compare commits
2 Commits
9492db65e9
...
zyj
| Author | SHA1 | Date | |
|---|---|---|---|
| 709e88bc29 | |||
|
|
908eb71b48 |
@@ -12,7 +12,9 @@
|
|||||||
"test:ci": "npm run lint && npm run test:unit",
|
"test:ci": "npm run lint && npm run test:unit",
|
||||||
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
||||||
"analyzer": "cross-env use_analyzer=true npm run dev",
|
"analyzer": "cross-env use_analyzer=true npm run dev",
|
||||||
"new": "plop"
|
"new": "plop",
|
||||||
|
"dev2": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service serve",
|
||||||
|
"build:prod2": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service build"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default {
|
|||||||
this.fileList.push(Object.assign(file, { url }));
|
this.fileList.push(Object.assign(file, { url }));
|
||||||
},
|
},
|
||||||
handleRemove(file) {
|
handleRemove(file) {
|
||||||
this.fileList = this.fileList.filter(item => item.name !== file.name)
|
this.fileList = this.fileList.filter(item => item !== file)
|
||||||
},
|
},
|
||||||
handlePictureCardPreview(file) {
|
handlePictureCardPreview(file) {
|
||||||
this.dialogImageUrl = file.url;
|
this.dialogImageUrl = file.url;
|
||||||
|
|||||||
@@ -637,6 +637,7 @@ export default {
|
|||||||
// })
|
// })
|
||||||
this.$refs.CustomUpload.fileList = [...this.formValidate.images.filter(item => item.mainMark == '1')]
|
this.$refs.CustomUpload.fileList = [...this.formValidate.images.filter(item => item.mainMark == '1')]
|
||||||
this.$refs.CustomLBUpload.fileList = [...this.formValidate.images.filter(item => item.mainMark != '1')]
|
this.$refs.CustomLBUpload.fileList = [...this.formValidate.images.filter(item => item.mainMark != '1')]
|
||||||
|
this.formValidate.recommendOrNewMark = data.newMark == '1' ? '1' : '2'
|
||||||
await this.confirm()
|
await this.confirm()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.formValidate.attr = this.formValidate.attr
|
this.formValidate.attr = this.formValidate.attr
|
||||||
|
|||||||
Reference in New Issue
Block a user