fix: 更新依赖配置,调整计算内容高度公式中的偏移量,移除不必要的空字符串值
This commit is contained in:
parent
03dda7b4ee
commit
3e44d6eb9c
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
@ -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
2602
package/component/es/upload/index2.js
Normal file
2602
package/component/es/upload/index2.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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
@ -8,6 +8,9 @@ export default defineConfig({
|
||||
"/@src": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 3005,
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
@ -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,
|
||||
|
@ -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
@ -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)";
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user