diff --git a/src/App.vue b/src/App.vue
index fa8d5b4..ac3b364 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -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 () {
},
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 3f6e53c..63c9eae 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -44,7 +44,8 @@ const saveM = () => {
current=index">
-
+
标题
{{ detail.children.material[current].title }}
diff --git a/src/pages/login/AccountLogin.vue b/src/pages/login/AccountLogin.vue
index 1041807..f122ef5 100644
--- a/src/pages/login/AccountLogin.vue
+++ b/src/pages/login/AccountLogin.vue
@@ -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: {
diff --git a/vite.config.js b/vite.config.js
index 8982362..cc22007 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -10,9 +10,9 @@ export default defineConfig({
defineModel: true,
}
}),
- // UnifiedViteWeappTailwindcssPlugin({
- // rem2rpx: true,
- // })
+ UnifiedViteWeappTailwindcssPlugin({
+ rem2rpx: true,
+ })
],
css: {
postcss: {