From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示
---
src/option/user/info.js | 166 +++++++++++++++++++++++++++---------------------------
1 files changed, 83 insertions(+), 83 deletions(-)
diff --git a/src/option/user/info.js b/src/option/user/info.js
index 77eae60..42be014 100644
--- a/src/option/user/info.js
+++ b/src/option/user/info.js
@@ -1,84 +1,84 @@
export default {
- tabs: true,
- tabsActive: 1,
- group: [
- {
- label: '个人信息',
- prop: 'info',
- column: [
- {
- label: '头像',
- type: 'upload',
- listType: 'picture-img',
- propsHttp: {
- res: 'data',
- url: 'link',
- },
- action: '/blade-resource/oss/endpoint/put-file',
- tip: '只能上传jpg/png用户头像,且不超过500kb',
- span: 12,
- row: true,
- prop: 'avatar',
- },
- {
- prefixIcon: 'el-icon-bell',
- label: '姓名',
- span: 12,
- row: true,
- prop: 'realName',
- },
- {
- prefixIcon: 'el-icon-user',
- label: '用户名',
- span: 12,
- row: true,
- prop: 'name',
- },
- {
- prefixIcon: 'el-icon-iphone',
- label: '手机号',
- span: 12,
- row: true,
- prop: 'phone',
- },
- {
- prefixIcon: 'el-icon-message',
- label: '邮箱',
- prop: 'email',
- span: 12,
- row: true,
- },
- ],
- },
- {
- label: '修改密码',
- prop: 'password',
- column: [
- {
- prefixIcon: 'el-icon-lock',
- label: '原密码',
- span: 12,
- row: true,
- type: 'password',
- prop: 'oldPassword',
- },
- {
- prefixIcon: 'el-icon-lock',
- label: '新密码',
- span: 12,
- row: true,
- type: 'password',
- prop: 'newPassword',
- },
- {
- prefixIcon: 'el-icon-lock',
- label: '确认密码',
- span: 12,
- row: true,
- type: 'password',
- prop: 'newPassword1',
- },
- ],
- },
- ],
-};
+ tabs: true,
+ tabsActive: 1,
+ group: [
+ {
+ label: '个人信息',
+ prop: 'info',
+ column: [
+ {
+ label: '头像',
+ type: 'upload',
+ listType: 'picture-img',
+ propsHttp: {
+ res: 'data',
+ url: 'link',
+ },
+ action: '/blade-resource/oss/endpoint/put-file',
+ tip: '只能上传jpg/png用户头像,且不超过500kb',
+ span: 12,
+ row: true,
+ prop: 'avatar',
+ },
+ {
+ prefixIcon: 'el-icon-bell',
+ label: '姓名',
+ span: 12,
+ row: true,
+ prop: 'realName',
+ },
+ {
+ prefixIcon: 'el-icon-user',
+ label: '用户名',
+ span: 12,
+ row: true,
+ prop: 'name',
+ },
+ {
+ prefixIcon: 'el-icon-iphone',
+ label: '手机号',
+ span: 12,
+ row: true,
+ prop: 'phone',
+ },
+ {
+ prefixIcon: 'el-icon-message',
+ label: '邮箱',
+ prop: 'email',
+ span: 12,
+ row: true,
+ },
+ ],
+ },
+ {
+ label: '修改密码',
+ prop: 'password',
+ column: [
+ {
+ prefixIcon: 'el-icon-lock',
+ label: '原密码',
+ span: 12,
+ row: true,
+ type: 'password',
+ prop: 'oldPassword',
+ },
+ {
+ prefixIcon: 'el-icon-lock',
+ label: '新密码',
+ span: 12,
+ row: true,
+ type: 'password',
+ prop: 'newPassword',
+ },
+ {
+ prefixIcon: 'el-icon-lock',
+ label: '确认密码',
+ span: 12,
+ row: true,
+ type: 'password',
+ prop: 'newPassword1',
+ },
+ ],
+ },
+ ],
+}
--
Gitblit v1.9.3