🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@victorzhuk
Copy link
Contributor

No description provided.

@victorzhuk
Copy link
Contributor Author

For upload some file with your main upload you need:

  • add File object to your files[].data

  • for some reasons I can't understand for now do it before submit like this:

inputFile(newFile, oldFile) {
	if (newFile && oldFile) {
		if (newFile.active !== oldFile.active) {
			newFile.data.snapshot = oldFile.data.snapshot
			console.log('Start upload', newFile.active, newFile)
		}
}

@lian-yue lian-yue merged commit 828b5b4 into lian-yue:master Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants