This commit is contained in:
王一嘉
2025-07-28 18:08:42 +08:00
parent ead031f2ae
commit 7885f0e2e0
4 changed files with 8 additions and 7 deletions

View File

@@ -12,9 +12,9 @@ export default {
if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) {
toPage('/pages/login/index');
}
// #endif
const SystemStore = useSystemStore();
SystemStore.getMessageCount();
// #endif
},
onHide: function () {
},

View File

@@ -44,7 +44,8 @@ const saveM = () => {
<tui-tabs v-if="tabs.length>0" :tabs="tabs" :currentTab="current" @change="({index})=>current=index"></tui-tabs>
<template v-if="detail.id">
<view class="block" v-if="detail.material_type?.title_limit > 0 && detail.children.material[current].title">
<view class="block"
v-if="detail.material_type?.title_limit > 0 && detail.children.material[current].title.length > 0">
<view class="title">标题</view>
<view class="info">
{{ detail.children.material[current].title }}

View File

@@ -9,8 +9,8 @@ import {useUserStore} from "../../pinia/UserStore/index.js";
const UserStore = useUserStore();
const form = reactive({
mobile: '17502997128',
password: '654321',
mobile: null,
password: null,
});
const rules = {
mobile: {

View File

@@ -10,9 +10,9 @@ export default defineConfig({
defineModel: true,
}
}),
// UnifiedViteWeappTailwindcssPlugin({
// rem2rpx: true,
// })
UnifiedViteWeappTailwindcssPlugin({
rem2rpx: true,
})
],
css: {
postcss: {