mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-10-06 14:13:10 +08:00
登录、注册页面标题使用pages.json配置
This commit is contained in:
@@ -149,10 +149,16 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/accountLogin/accountLogin"
|
||||
"path": "pages/accountLogin/accountLogin",
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户登录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/register/register"
|
||||
"path": "pages/register/register",
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户注册"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
|
||||
@@ -80,16 +80,6 @@
|
||||
<script setup>
|
||||
import { encrypt } from '@/utils/crypto.js'
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow(() => {
|
||||
// 头部导航标题
|
||||
uni.setNavigationBarTitle({
|
||||
title: '用户登录'
|
||||
})
|
||||
})
|
||||
|
||||
const principal = ref('') // 账号
|
||||
const errorTips = ref(0) // 错误提示
|
||||
watch(
|
||||
|
||||
@@ -82,16 +82,6 @@
|
||||
<script setup>
|
||||
import { encrypt } from '@/utils/crypto.js'
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow(() => {
|
||||
// 头部导航标题
|
||||
uni.setNavigationBarTitle({
|
||||
title: '用户注册'
|
||||
})
|
||||
})
|
||||
|
||||
const principal = ref('') // 账号
|
||||
const credentials = ref('') // 密码
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user