vue2-client 1.21.10 → 1.21.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.21.10",
3
+ "version": "1.21.11",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -219,7 +219,7 @@ export default {
219
219
  */
220
220
  thumbCacheKey (photo) {
221
221
  if (!photo) return ''
222
- if (photo.id != null && photo.id !== '') return String(photo.id)
222
+ if (photo.id) return String(photo.id)
223
223
  const raw = photo.fileId
224
224
  if (raw == null || raw === '') return ''
225
225
  if (typeof raw !== 'object') return String(raw)