vue-typescript-admin-template
vue-typescript-admin-template copied to clipboard
Refactor: replace deprecated String.prototype.substr()
What kind of change does this PR introduce?
- refactor
More information:
String.prototype.substr() is deprecated so we replace it with String.prototype.slice() which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.