代码优化
This commit is contained in:
parent
2b1311b5a1
commit
85ab7057f1
|
|
@ -25,7 +25,8 @@ class HttpConfig {
|
|||
// systemPath = `${this.baseUrl}/dev-api/system`
|
||||
// basePath = `${this.baseUrl}/dev-api/base`
|
||||
// materialPath = `${this.baseUrl}/dev-api/material`
|
||||
baseUrl = ENV === "production" ? "http://192.168.0.56:21627" : this.target;
|
||||
baseUrl =
|
||||
ENV === "production" ? "http://112.29.103.165:21626" : this.target;
|
||||
authPath =
|
||||
ENV === "production"
|
||||
? `${this.baseUrl}/dev-api/auth`
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
maxlength="60"
|
||||
v-model="accountFormData.password"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<text
|
||||
<!-- <text
|
||||
style="
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
font-size: 14px;
|
||||
">
|
||||
忘记密码
|
||||
</text>
|
||||
</text> -->
|
||||
<button class="submit-btn" @click="accountSubmit">登录</button>
|
||||
</uni-forms>
|
||||
<uni-forms
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
maxlength="60"
|
||||
v-model="accountFormData.password"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<text
|
||||
<!-- <text
|
||||
style="
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
font-size: 14px;
|
||||
">
|
||||
忘记密码
|
||||
</text>
|
||||
</text> -->
|
||||
<button class="submit-btn" @click="accountSubmit">登录</button>
|
||||
</uni-forms>
|
||||
<uni-forms
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue