代码优化
This commit is contained in:
parent
2b1311b5a1
commit
85ab7057f1
|
|
@ -25,7 +25,8 @@ class HttpConfig {
|
||||||
// systemPath = `${this.baseUrl}/dev-api/system`
|
// systemPath = `${this.baseUrl}/dev-api/system`
|
||||||
// basePath = `${this.baseUrl}/dev-api/base`
|
// basePath = `${this.baseUrl}/dev-api/base`
|
||||||
// materialPath = `${this.baseUrl}/dev-api/material`
|
// 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 =
|
authPath =
|
||||||
ENV === "production"
|
ENV === "production"
|
||||||
? `${this.baseUrl}/dev-api/auth`
|
? `${this.baseUrl}/dev-api/auth`
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
maxlength="60"
|
maxlength="60"
|
||||||
v-model="accountFormData.password"></uni-easyinput>
|
v-model="accountFormData.password"></uni-easyinput>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<text
|
<!-- <text
|
||||||
style="
|
style="
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
">
|
">
|
||||||
忘记密码
|
忘记密码
|
||||||
</text>
|
</text> -->
|
||||||
<button class="submit-btn" @click="accountSubmit">登录</button>
|
<button class="submit-btn" @click="accountSubmit">登录</button>
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
<uni-forms
|
<uni-forms
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
maxlength="60"
|
maxlength="60"
|
||||||
v-model="accountFormData.password"></uni-easyinput>
|
v-model="accountFormData.password"></uni-easyinput>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<text
|
<!-- <text
|
||||||
style="
|
style="
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
">
|
">
|
||||||
忘记密码
|
忘记密码
|
||||||
</text>
|
</text> -->
|
||||||
<button class="submit-btn" @click="accountSubmit">登录</button>
|
<button class="submit-btn" @click="accountSubmit">登录</button>
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
<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