fix: 更新依赖配置,调整计算内容高度公式中的偏移量,移除不必要的空字符串值

This commit is contained in:
theluyuan 2025-08-13 10:13:37 +08:00
parent 03dda7b4ee
commit 3e44d6eb9c
20 changed files with 2676 additions and 2682 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1510,7 +1510,7 @@ const _sfc_main = defineComponent({
const soultop = ref(0);
const soulleft = ref(0);
const selcolumn = ref({});
const soulkey = ref();
const soulkey = ref("");
const sxlist = ref({});
function showsoul(event, column, key) {
console.log(event);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -36,7 +36,7 @@
"dependencies": {
"@ctrl/tinycolor": "^3.4.1",
"@layui/icons-vue": "^1.0.9",
"@layui/layer-vue": "git+https://git.theluyuan.com/theluyuan/layui-layer.git",
"@layui/layer-vue": "file:../layer",
"@layui/layui-vue": "file:",
"@umijs/ssr-darkreader": "^4.9.45",
"@vueuse/core": "^9.2.0",

View File

@ -27,9 +27,9 @@ export default (): UserConfigExport => {
},
terserOptions: {
compress: {
drop_console: true,
drop_console: false,
drop_debugger: true,
pure_funcs: ["console.log"],
pure_funcs: [],
},
output: {
comments: true,

View File

@ -77,9 +77,9 @@ export default (): UserConfigExport => {
},
terserOptions: {
compress: {
drop_console: true,
drop_console: false,
drop_debugger: true,
pure_funcs: ["console.log"],
pure_funcs: [],
},
output: {
comments: true,

View File

@ -27,9 +27,9 @@ export default (): UserConfigExport => {
},
terserOptions: {
compress: {
drop_console: true,
drop_console: false,
drop_debugger: true,
pure_funcs: ["console.log"],
pure_funcs: [],
},
output: {
comments: true,

View File

@ -826,7 +826,7 @@ const soulstatus = ref(false);
const soultop = ref(0);
const soulleft = ref(0);
const selcolumn = ref<any>({});
const soulkey = ref<string>();
const soulkey = ref("");
const sxlist: any = ref({});
function showsoul(event: MouseEvent, column: any, key: string) {
console.log(event);

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,9 @@ export default defineConfig({
"/@src": path.resolve(__dirname, "./src"),
},
},
server: {
port: 3005,
},
build: {
rollupOptions: {
output: {

View File

@ -22,9 +22,9 @@ export default defineConfig({
},
terserOptions: {
compress: {
drop_console: true,
drop_console: false,
drop_debugger: true,
pure_funcs: ["console.log"],
pure_funcs: [],
},
output: {
comments: true,

View File

@ -947,10 +947,11 @@ function calculateContent(title2, height, btn, type, isMessage) {
if (height && height.indexOf("%") != -1) {
height = "100%";
}
console.log("btn", height + "px");
if (btn && btn.length > 0) {
if (type == 0) {
if (title2) {
return "calc(" + height + " - 90px)";
return "calc(" + height + " - 135px)";
} else {
return "calc(" + height + " - 86px)";
}

File diff suppressed because one or more lines are too long

View File

@ -142,10 +142,11 @@ export function calculateContent(
if (height && height.indexOf("%") != -1) {
height = "100%";
}
console.log("btn", height + "px");
if (btn && btn.length > 0) {
if (type == 0) {
if (title) {
return "calc(" + height + " - 90px)";
return "calc(" + height + " - 135px)";
} else {
return "calc(" + height + " - 86px)";
}

View File

@ -23,9 +23,9 @@ export default defineConfig({
},
terserOptions: {
compress: {
drop_console: true,
drop_console: false,
drop_debugger: true,
pure_funcs: ["console.log"],
pure_funcs: [],
},
output: {
comments: true,