perf: remove console

pull/19/head
xingyu 2023-05-24 14:22:00 +08:00
parent b13f0308a5
commit af28b6b4d8
6 changed files with 0 additions and 6 deletions

View File

@ -236,7 +236,6 @@ export const usePermissionStore = defineStore('app-permission', {
routeList = routeList.filter(routeRemoveIgnoreFilter)
routeList = flatMultiLevelRoutes(routeList)
routes = [PAGE_NOT_FOUND_ROUTE, dashboard, ...routeList, about]
console.info(routes)
break
}

View File

@ -60,7 +60,6 @@ const transform: AxiosTransform = {
}
// 这里 coderesultmessage为 后台统一的字段,需要在 types.ts内修改为项目自己的接口返回格式
const { code, data: result, msg } = data
console.info(result)
// 这里逻辑可以根据项目进行修改
const hasSuccess = data && Reflect.has(data, 'code') && code === ResultEnum.SUCCESS
if (hasSuccess) {

View File

@ -248,7 +248,6 @@ async function handleDelete(record: Recordable) {
}
function openChannel(record: Recordable, payCode: string, type: string, isUpdate: boolean) {
console.info(record)
openChannelModal(true, { record, payCode, type, isUpdate })
}
</script>

View File

@ -28,7 +28,6 @@ async function handleSubmit() {
try {
const values = await validate()
setModalProps({ confirmLoading: true })
console.info(values)
const res = await getAreaByIp(values.ip)
if (res) {
values.result = res

View File

@ -94,7 +94,6 @@ async function handleDelete(record: Recordable) {
watch(
() => props.searchInfo,
(val) => {
console.info(val)
val && reload()
},
{ deep: true }

View File

@ -80,7 +80,6 @@ function handleCreate() {
}
function handleSend(record: Recordable) {
console.info(record)
openSenModal(true, record)
}