update
This commit is contained in:
@@ -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 () {
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ export default defineConfig({
|
|||||||
defineModel: true,
|
defineModel: true,
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
// UnifiedViteWeappTailwindcssPlugin({
|
UnifiedViteWeappTailwindcssPlugin({
|
||||||
// rem2rpx: true,
|
rem2rpx: true,
|
||||||
// })
|
})
|
||||||
],
|
],
|
||||||
css: {
|
css: {
|
||||||
postcss: {
|
postcss: {
|
||||||
|
|||||||
Reference in New Issue
Block a user