fix: BUG修改
This commit is contained in:
parent
c9ff390443
commit
7069e572d4
@ -2,9 +2,10 @@
|
|||||||
NODE_ENV = 'development'
|
NODE_ENV = 'development'
|
||||||
|
|
||||||
# 本地环境接口地址(/api/index.ts文件中使用)
|
# 本地环境接口地址(/api/index.ts文件中使用)
|
||||||
VITE_API_URL = 'http://192.168.34.155:6688'
|
# VITE_API_URL = 'http://192.168.34.155:6688'
|
||||||
# VITE_API_URL = "http://182.90.224.147:6688"
|
VITE_API_URL = "http://182.90.224.147:6688"
|
||||||
|
|
||||||
# 上传
|
# 上传
|
||||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
# VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export const useTime = () => {
|
|||||||
year.value = date.getFullYear();
|
year.value = date.getFullYear();
|
||||||
month.value = date.getMonth() + 1;
|
month.value = date.getMonth() + 1;
|
||||||
week.value = "日一二三四五六".charAt(date.getDay());
|
week.value = "日一二三四五六".charAt(date.getDay());
|
||||||
day.value = date.();
|
day.value = date.getDate();
|
||||||
hour.value =
|
hour.value =
|
||||||
(date.getHours() + "")?.padStart(2, "0") ||
|
(date.getHours() + "")?.padStart(2, "0") ||
|
||||||
new Intl.NumberFormat(undefined, { minimumIntegerDigits: 2 }).format(date.getHours());
|
new Intl.NumberFormat(undefined, { minimumIntegerDigits: 2 }).format(date.getHours());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user