@adminforth/upload 2.14.0 → 2.14.1
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/build.log +2 -2
- package/custom/preview.vue +6 -1
- package/dist/custom/preview.vue +6 -1
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -11,5 +11,5 @@ custom/preview.vue
|
|
|
11
11
|
custom/tsconfig.json
|
|
12
12
|
custom/uploader.vue
|
|
13
13
|
|
|
14
|
-
sent 59,
|
|
15
|
-
total size is 59,
|
|
14
|
+
sent 59,938 bytes received 134 bytes 120,144.00 bytes/sec
|
|
15
|
+
total size is 59,456 speedup is 0.99
|
package/custom/preview.vue
CHANGED
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
</div>
|
|
34
34
|
</template>
|
|
35
|
-
|
|
35
|
+
<template v-else>
|
|
36
|
+
{{ t('No image') }}
|
|
37
|
+
</template>
|
|
36
38
|
|
|
37
39
|
</div>
|
|
38
40
|
</template>
|
|
@@ -66,6 +68,9 @@
|
|
|
66
68
|
import { ref, computed , onMounted, watch, nextTick} from 'vue'
|
|
67
69
|
import mediumZoom from 'medium-zoom'
|
|
68
70
|
import { useRoute } from 'vue-router'
|
|
71
|
+
import { useI18n } from 'vue-i18n';
|
|
72
|
+
|
|
73
|
+
const { t } = useI18n();
|
|
69
74
|
|
|
70
75
|
const img = ref(null);
|
|
71
76
|
const zoom = ref(null);
|
package/dist/custom/preview.vue
CHANGED
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
</div>
|
|
34
34
|
</template>
|
|
35
|
-
|
|
35
|
+
<template v-else>
|
|
36
|
+
{{ t('No image') }}
|
|
37
|
+
</template>
|
|
36
38
|
|
|
37
39
|
</div>
|
|
38
40
|
</template>
|
|
@@ -66,6 +68,9 @@
|
|
|
66
68
|
import { ref, computed , onMounted, watch, nextTick} from 'vue'
|
|
67
69
|
import mediumZoom from 'medium-zoom'
|
|
68
70
|
import { useRoute } from 'vue-router'
|
|
71
|
+
import { useI18n } from 'vue-i18n';
|
|
72
|
+
|
|
73
|
+
const { t } = useI18n();
|
|
69
74
|
|
|
70
75
|
const img = ref(null);
|
|
71
76
|
const zoom = ref(null);
|