File tree Expand file tree Collapse file tree 5 files changed +32
-22
lines changed Expand file tree Collapse file tree 5 files changed +32
-22
lines changed Original file line number Diff line number Diff line change 1
- VITE_APP_ENV = 'prod'
2
- #自动获取地址推荐
3
- VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
1
+ #The defined variable must start with VITE_APP_
2
+ #notes: login use mock api
3
+
4
+ VITE_APP_ENV = 'dev'
5
+ VITE_APP_BASE_URL = ''
4
6
5
7
#image or oss address
6
- VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'
8
+ VITE_APP_IMAGE_URL = ''
9
+
10
+ #proxy, use this to test proxy
11
+ #VITE_APP_BASE_URL = '/api'
Original file line number Diff line number Diff line change 1
- VITE_APP_ENV = 'test'
2
- #自动获取地址推荐
3
- #VITE_APP_BASE_URL = '/micro-service-api'
4
- VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api '
5
- VITE_APP_BASE_WS_URL = ''
1
+ #The defined variable must start with VITE_APP_
2
+ #notes: login use mock api
3
+
4
+ VITE_APP_ENV = 'dev '
5
+ VITE_APP_BASE_URL = ''
6
6
7
7
#image or oss address
8
- VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'
8
+ VITE_APP_IMAGE_URL = ''
9
+
10
+ #proxy,use this to test proxy
11
+ #VITE_APP_BASE_URL = '/api'
Original file line number Diff line number Diff line change 1
1
#The defined variable must start with VITE_APP_
2
+ #notes: login use mock api
3
+
2
4
VITE_APP_ENV = 'dev'
3
- VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api '
5
+ VITE_APP_BASE_URL = ''
4
6
5
7
#image or oss address
6
- VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image '
8
+ VITE_APP_IMAGE_URL = ''
7
9
8
10
#proxy, use this to test proxy
9
11
#VITE_APP_BASE_URL = '/api'
10
- #VITE_APP_PROXY_URL = 'https://github.jzfai.top/micro-service-api'
Original file line number Diff line number Diff line change 1
1
#The defined variable must start with VITE_APP_
2
- VITE_APP_ENV = 'test'
3
- VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
2
+ #notes: login use mock api
4
3
5
- #image or oss address
6
- VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'
4
+ VITE_APP_ENV = 'dev'
5
+ VITE_APP_BASE_URL = ''
6
+
7
+ #image or oss address
8
+ VITE_APP_IMAGE_URL = ''
7
9
8
10
#proxy, use this to test proxy
9
11
#VITE_APP_BASE_URL = '/api'
10
- #VITE_APP_PROXY_URL = 'https://github.jzfai.top/micro-service-api'
Original file line number Diff line number Diff line change @@ -85,13 +85,13 @@ watch(
85
85
/*
86
86
* login relative
87
87
* */
88
- const subLoading = $ ref (false )
88
+ const subLoading = ref (false )
89
89
// tip message
90
- const tipMessage = $ ref (' ' )
90
+ const tipMessage = ref ()
91
91
// sub form
92
- const refLoginForm = $ ref (null )
92
+ const refLoginForm = ref ()
93
93
const handleLogin = () => {
94
- refLoginForm .validate ((valid ) => {
94
+ refLoginForm .value . validate ((valid ) => {
95
95
subLoading .value = true
96
96
if (valid ) loginFunc ()
97
97
})
You can’t perform that action at this time.
0 commit comments