This commit is contained in:
2025-12-03 17:11:01 +08:00
parent d769cd416c
commit c15e6d5cf7
3 changed files with 0 additions and 9 deletions

View File

@ -116,7 +116,6 @@ const getStatus = () => {
const getAuthCode = async () => { const getAuthCode = async () => {
const res = await AuthApi.authInfo() const res = await AuthApi.authInfo()
authInfo.value.license_code = res.data authInfo.value.license_code = res.data
console.log(res, '码')
} }
getAuthInfo() getAuthInfo()
getAuthCode() getAuthCode()
@ -127,7 +126,6 @@ const copy = async (text) => {
await toClipboard(text) await toClipboard(text)
ElMessage.success('复制成功') ElMessage.success('复制成功')
} catch (e) { } catch (e) {
console.error('复制失败', e)
ElMessage.error('复制失败') ElMessage.error('复制失败')
} }
} }

View File

@ -157,7 +157,6 @@ const precisionInput = () => {
// precision.value = dom.max * 1 // precision.value = dom.max * 1
// } // }
visibility.precisions = precision.value visibility.precisions = precision.value
console.log('precision.value', visibility.precisions, precision.value)
} }
const precisionChange = () => {} const precisionChange = () => {}
const draw = (e) => { const draw = (e) => {
@ -179,7 +178,6 @@ const updateDataAttr = async () => {
} }
const precisionMaxInput = () => { const precisionMaxInput = () => {
let dom: any = document.getElementById('precision') let dom: any = document.getElementById('precision')
console.log('maxNum.value', maxNum.value, dom.min, dom.max)
if (maxNum.value < dom.min * 1) { if (maxNum.value < dom.min * 1) {
maxNum.value = dom.min * 1 maxNum.value = dom.min * 1
} else if (maxNum.value > dom.max * 1) { } else if (maxNum.value > dom.max * 1) {
@ -190,7 +188,6 @@ const precisionMaxInput = () => {
watch( watch(
() => maxNum.value, () => maxNum.value,
(x, j) => { (x, j) => {
console.log('maxNum.value11111', 'x:' + x, 'y:' + j)
if (!x) { if (!x) {
maxNum.value = 1 maxNum.value = 1
} }

View File

@ -350,7 +350,6 @@ const {
loginInit, loginInit,
isDesktop isDesktop
} = useLogin() // 登录逻辑 } = useLogin() // 登录逻辑
console.log('isDesktop', isDesktop)
const { const {
serviceDialog, serviceDialog,
@ -381,7 +380,6 @@ onMounted(() => {
let { isSeverInit, severError } = ipcRenderer.sendSync('judgment-isSeverInit') let { isSeverInit, severError } = ipcRenderer.sendSync('judgment-isSeverInit')
// 如果服务端未初始化,等待初始化完成 // 如果服务端未初始化,等待初始化完成
if (isSeverInit) { if (isSeverInit) {
console.log('severError', severError)
if (severError) { if (severError) {
ElMessage.error(severError) ElMessage.error(severError)
return return
@ -420,7 +418,6 @@ const getAuthInfo = async () => {
if (typeof res.data === 'object') { if (typeof res.data === 'object') {
authInfo.value.generateTime = res.data.generateTime authInfo.value.generateTime = res.data.generateTime
authInfo.value.expireTime = res.data.expireTime authInfo.value.expireTime = res.data.expireTime
console.log(authInfo.value.expireTime, '授权时间222')
getStatus2() getStatus2()
getStatus(res.data.expireTime) getStatus(res.data.expireTime)
} }
@ -530,7 +527,6 @@ const getStatus2 = () => {
const timestamp = new Date(authInfo.value.expireTime).getTime() const timestamp = new Date(authInfo.value.expireTime).getTime()
const currentTimestamp = Date.now() const currentTimestamp = Date.now()
console.log('timestamp', timestamp > currentTimestamp)
if (timestamp > currentTimestamp) { if (timestamp > currentTimestamp) {
authInfo.value.status = true authInfo.value.status = true
} else { } else {