- 在 user.ts 中新增 getUserInfoByID 函数,用于通过用户 ID 获取信息 - 在 user.store.ts 中添加 getUserInfoByID 方法,用于更新用户信息 - 修改 .env.development 文件,更新 API 基础 URL - 在 header 组件中添加 menuLi 组件,调整布局结构
12 lines
373 B
Plaintext
12 lines
373 B
Plaintext
NODE_ENV = 'development'
|
|
VITE_NOW_TYPE = 'dist'
|
|
|
|
# Base API
|
|
# VITE_APP_BASE_URL='http://192.168.101.102:8546'
|
|
# VITE_APP_BASE_URL='http://192.168.1.10:8546'
|
|
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
|
|
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
|
|
VITE_APP_BASE_URL='http://192.168.1.22:8544'
|
|
# VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn'
|
|
|