Commit 195ab91a by duanaijun

还原改动

parent 0b19436e
......@@ -74,13 +74,6 @@ export default {
type: Boolean,
default: true,
},
//是否删除原图-------------
deletePic: {
type: Boolean,
default: true,
},
//------------------------
option: {
// 剪裁比例大小
type: Object,
......@@ -176,15 +169,6 @@ export default {
});
},
delImg() {
//--------是否删除原图-----------begin
if(!this.deletePic){
this.$emit('input', '');
this.$nextTick(() => {
if (this.$refs.input) this.$refs.input.value = '';
});
return;
}
//-------------------------------end
getDelImgToken({
params: {
fileNames: this.fileName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment