chenxiong 3 년 전
부모
커밋
ba0458f0b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      common/methodTool.js

+ 1 - 1
common/methodTool.js

@@ -146,7 +146,7 @@ export default {
 	uploadFile(options, int) {
 		return new Promise((resolve, reject) => {
 			var self = this;
-			if (options.indexOf('//tmp') === -1) {
+			if (options.indexOf('//tmp') === -1 && options.indexOf('//temp') === -1) {
 				resolve(options)
 				return
 			}