修改页面log输出并修改tonken超时判断

This commit is contained in:
GGJ
2024-12-18 14:15:13 +08:00
parent 21831dda90
commit 8089fcb7de
43 changed files with 203 additions and 155 deletions

View File

@@ -45,8 +45,7 @@ const init = () => {
nextTick(() => {
dic.forEach((item: BasicDictData) => {
if (item.code == activeName.value) {
console.log(activeName.value)
console.log(item.id)
id.value = item.id
}

View File

@@ -72,7 +72,7 @@ const open = (text: string, data?: anyObj) => {
if (key == 'sort') {
form[key] = data?.sort ? data[key] : 100
console.log("🚀 ~ open ~ form[key]:", form[key])
// console.log("🚀 ~ open ~ form[key]:", form[key])
}
}
dialogVisible.value = true

View File

@@ -59,7 +59,7 @@ const tableStore = new TableStore({
{ title: '统计类型', field: 'name' },
{
title: '类型', field: 'type',
width: 150,
width: 200,
formatter: row => {
return options.value.filter((item: any) => item.value == row.cellValue)[0]?.name
},
@@ -67,7 +67,7 @@ const tableStore = new TableStore({
{
title: '操作',
align: 'center',
width: '180',
width: '200',
render: 'buttons',
buttons: [
{
@@ -141,7 +141,7 @@ onMounted(() => {
})
const addMenu = () => {
console.log(bindingRef)
// console.log(bindingRef)
addRef.value.open('新增', {
sort: tableStore.table.data.length ? tableStore.table.data[tableStore.table.data.length - 1].sort + 1 : 1,
code: '',