refactor(icons): 优化SVG图标路径结构
- 移除多余的垂直线条路径定义 - 简化为三个水平条形路径,减少重复代码 - 保持图标的视觉表现一致性 fix(device): 修复设备对话框标题和选项初始化问题 - 移除冗余的标题赋值操作 - 删除未使用的分类、状态和供应商选项属性 - 保留必要的表单重置和树形结构加载逻辑
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M512 128c-211.2 0-384 172.8-384 384 0 106.24 43.52 202.24 113.92 271.36L256 896h512l-85.33-112.64C769.28 714.24 812.8 618.24 812.8 512c0-211.2-172.8-384-384-384z m0 576c-106.24 0-192-85.76-192-192s85.76-192 192-192 192 85.76 192 192-85.76 192-192 192z" fill="currentColor"/>
|
||||
<path d="M384 320h64v384h-64z" fill="currentColor"/>
|
||||
<path d="M576 320h64v384h-64z" fill="currentColor"/>
|
||||
<path d="M384 384h256v64h-256z" fill="currentColor"/>
|
||||
<path d="M384 512h256v64h-256z" fill="currentColor"/>
|
||||
<path d="M384 320h256v64h-256z" fill="currentColor"/>
|
||||
<path d="M384 448h256v64h-256z" fill="currentColor"/>
|
||||
<path d="M384 576h256v64h-256z" fill="currentColor"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 538 B |
@@ -638,13 +638,8 @@ function getLocationTree() {
|
||||
// 显示弹框
|
||||
function edit() {
|
||||
reset();
|
||||
title.value = '';
|
||||
title.value = props.title;
|
||||
form.value = props.item;
|
||||
form.value.chrgitmLv = form.value.chrgitmLv ? form.value.chrgitmLv.toString() : undefined;
|
||||
deviceCategories.value = props.deviceCategories;
|
||||
statusFlagOptions.value = props.statusFlagOptions;
|
||||
supplierListOptions.value = props.supplierListOptions;
|
||||
getDeptTree();
|
||||
getLocationTree();
|
||||
// 初始化包装单位列表
|
||||
|
||||
Reference in New Issue
Block a user