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) { if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) {
toPage('/pages/login/index'); toPage('/pages/login/index');
} }
// #endif
const SystemStore = useSystemStore(); const SystemStore = useSystemStore();
SystemStore.getMessageCount(); SystemStore.getMessageCount();
// #endif
}, },
onHide: function () { 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> <tui-tabs v-if="tabs.length>0" :tabs="tabs" :currentTab="current" @change="({index})=>current=index"></tui-tabs>
<template v-if="detail.id"> <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="title">标题</view>
<view class="info"> <view class="info">
{{ detail.children.material[current].title }} {{ detail.children.material[current].title }}

View File

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

View File

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