|
|
@@ -48,7 +48,7 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { numberToWords } from "pixiu-number-toolkit"
|
|
|
-import { computed, ref } from "vue"
|
|
|
+import { computed, ref, onMounted } from "vue"
|
|
|
import { useStore } from "vuex"
|
|
|
const {
|
|
|
windowSizeInCssForRef,
|
|
|
@@ -61,9 +61,14 @@ const data = computed(() => {
|
|
|
return store.state.data
|
|
|
})
|
|
|
|
|
|
+onMounted(() => {
|
|
|
+ store.commit('resetRelicListScrollValue')
|
|
|
+})
|
|
|
+
|
|
|
function int2zh(idx) {
|
|
|
return numberToWords(idx, "zh")
|
|
|
}
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|