feat: update VSCode settings for ESLint and Prettier integration
chore: refactor ESLint configuration for improved linting rules and performance fix: handle push event data parsing in service worker style: adjust tabbar item properties for better readability in App.vue refactor: remove unused functions and improve code clarity in TransactionDetail.vue fix: ensure consistent event handling in CalendarView.vue style: clean up component structure and formatting in various Vue files chore: update launch script for better command execution feat: add ESLint configuration file for consistent code style across the project fix: resolve issues with button click events in multiple components
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<template>
|
||||
<div class="page-container-flex">
|
||||
<van-nav-bar v-if="!isComponent" title="消息中心">
|
||||
<template #right>
|
||||
@@ -49,7 +50,11 @@
|
||||
height="50%"
|
||||
:closeable="true"
|
||||
>
|
||||
<div v-if="currentMessage.messageType === 2" class="detail-content" v-html="currentMessage.content">
|
||||
<div
|
||||
v-if="currentMessage.messageType === 2"
|
||||
class="detail-content"
|
||||
v-html="currentMessage.content"
|
||||
>
|
||||
</div>
|
||||
<div v-else class="detail-content">
|
||||
{{ currentMessage.content }}
|
||||
@@ -207,12 +212,6 @@ const handleMarkAllRead = () => {
|
||||
onMounted(() => {
|
||||
// onLoad 会由 van-list 自动触发
|
||||
});
|
||||
const props = defineProps({
|
||||
isComponent: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
});
|
||||
|
||||
defineExpose({
|
||||
handleMarkAllRead
|
||||
|
||||
Reference in New Issue
Block a user