🐞 fix: 修改部分页面会导致全局样式失效

This commit is contained in:
砂糖
2025-09-17 15:10:37 +08:00
parent 0e93df9985
commit 3c30290b50
7 changed files with 24 additions and 5 deletions

BIN
klp-ui/public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>favicon.png">
<title><%= webpackConfig.name %></title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -52,6 +52,9 @@ export default {
isCollapse() {
return !this.sidebar.opened;
}
},
mounted() {
console.log(this.sidebarRouters, sidebar);
}
};
</script>

View File

@@ -78,6 +78,15 @@
v-hasPermi="['system:dict:export']"
>导出</el-button>
</el-col>
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-copy"
size="mini"
@click="handleCopy"
>复制</el-button>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
@@ -396,7 +405,17 @@ export default {
this.download('system/dict/data/export', {
...this.queryParams
}, `data_${new Date().getTime()}.xlsx`)
}
},
/** 复制按钮操作 */
// handleCopy() {
// // 复制字典进入系统剪切板,数据结构:{dictName: '', dictType: '', data: [
// //
// // ], status: '0', remark: ''}
// this.reset();
// this.open = true;
// this.title = "复制字典数据";
// this.form.dictType = this.queryParams.dictType;
// }
}
};
</script>

View File

@@ -61,7 +61,6 @@
<script>
import { listStock } from "@/api/wms/stock";
import { listWarehouse } from "@/api/wms/warehouse";
import 'element-ui/lib/theme-chalk/index.css';
import ReaTree from './panels/reattree.vue';
import MaterialBar from './panels/bar.vue';
import TrendChart from './panels/trendChart.vue';

View File

@@ -133,7 +133,6 @@ import { addStockIoWithDetail } from "@/api/wms/stockIo";
import RawMaterialSelect from "@/components/KLPService/RawMaterialSelect";
import ProductSelect from "@/components/KLPService/ProductSelect";
import WarehouseSelect from "@/components/WarehouseSelect";
import StockBox from './box';
import RawMaterialInfo from "@/components/KLPService/Renderer/RawMaterialInfo";
import ProductInfo from "@/components/KLPService/Renderer/ProductInfo";
import BomInfoMini from "@/components/KLPService/Renderer/BomInfoMini";
@@ -148,7 +147,6 @@ export default {
WarehouseSelect,
RawMaterialSelect,
ProductSelect,
StockBox,
RawMaterialInfo,
ProductInfo,
BomInfoMini,