Web: fix JavaScript issue that only pops up in production
Fix an issue ("`this` is undefined) that only pops up when serving the static files from `yarn build`, and not when using the Vite devserver.
This commit is contained in:
parent
e9bc55cfc8
commit
6d9e5d5299
@ -23,7 +23,7 @@ const visibleStatuses = computed(() => {
|
||||
:data-status="status"
|
||||
:class="{active: activeStatuses.indexOf(status) >= 0}"
|
||||
@click="emit('click', status)"
|
||||
v-html="indicator(status, this.classPrefix)"
|
||||
v-html="indicator(status, classPrefix)"
|
||||
></li>
|
||||
</ul>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user