We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gogocode -s ./src-t gogocode-plugin-vue -o ./src -p exclude-rules=eventsApi
export default { beforeDestroy() { const names = Object.keys(this.diffMap); (names || []).forEach((name) => { const diffObj = this.diffMap[name]; this.$delete(diffObj, 'leftVm'); this.$delete(diffObj, 'rightVm'); this.$delete(this.diffMap, name); }); }, };
export default { beforeUnmount() { const names = Object.keys(this.diffMap); (names || []).forEach((name) => { const diffObj = this.diffMap[name]; delete diffObj; delete diffObj; delete this.diffMap; }); }, };
个人认为应该是少了key,delete diffObj;应该转为delete diffObj.leftVm;
delete diffObj;
delete diffObj.leftVm;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gogocode -s ./src-t gogocode-plugin-vue -o ./src -p exclude-rules=eventsApi
将上述代码转换时,得到的结果是:
个人认为应该是少了key,
delete diffObj;
应该转为delete diffObj.leftVm;
The text was updated successfully, but these errors were encountered: