更换线上地址接口。
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ const errorCode = {
|
||||
default: "系统未知错误,请反馈给管理员",
|
||||
};
|
||||
|
||||
const url = "https://repair.cpolar.top"; // 开发地址
|
||||
// const url = "https://xcx.cqcxj.cn"; // 正式地址
|
||||
// const url = "https://repair.cpolar.top"; // 开发地址
|
||||
const url = "https://api.cqcxj.cn"; // 正式地址
|
||||
// const url = "https://cqjql.scdswj.cn:9443"; // 临时地址n
|
||||
|
||||
const service = axios.create({
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
:disabled-date="disablePastAndSpecificDay"
|
||||
type="date"
|
||||
placeholder="请选择日期"
|
||||
@clear="clearDate"
|
||||
@clear="clearDay"
|
||||
@change="isDayClick"
|
||||
:default-value="new Date(formatDate(formSearch.year).year, formatDate(formSearch.month).month-1, 1)"
|
||||
:arrow-control="true"
|
||||
@@ -485,8 +485,8 @@ const clearMonthDate = () => {
|
||||
}
|
||||
|
||||
// 清空日期
|
||||
const clearDate = () => {
|
||||
formSearch.value.date = ''
|
||||
const clearDay = () => {
|
||||
formSearch.value.day = ''
|
||||
}
|
||||
|
||||
// 禁止选择之后的年份
|
||||
|
||||
Reference in New Issue
Block a user