From b79c78fedb367570ca2f17a87fbc244a8dadb793 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期三, 27 三月 2024 17:29:04 +0800
Subject: [PATCH] 替换保存在数据库的模型中的图片的url前缀和token值,页面回显模型时,再替换回去。(因为url前缀和token是随环境变换的值,不能存在数据库中)
---
web/src/views/modules/basicInfo/ProductModelTree.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/src/views/modules/basicInfo/ProductModelTree.vue b/web/src/views/modules/basicInfo/ProductModelTree.vue
index a2ec468..fba71fb 100644
--- a/web/src/views/modules/basicInfo/ProductModelTree.vue
+++ b/web/src/views/modules/basicInfo/ProductModelTree.vue
@@ -2,12 +2,12 @@
<div class="product-tree-container " :style="'height:' + tree_Hei +'px'">
<el-input
placeholder="杈撳叆鍚嶇О杩涜杩囨护"
- style="width: 80%"
+ style="width: 60%"
v-model="filterText"
size="small"
clearable
></el-input>
- <el-button type="primary" @click="add()" style="margin-top: 10px">鏂板</el-button>
+ <el-button type="primary" @click="add()" style="margin: 10px 0 0 10px;padding: 9px 18px !important;">鏂板</el-button>
<el-divider></el-divider>
<el-tree
style="height: 90%;overflow: auto"
@@ -59,6 +59,7 @@
async getProductList() {
let res = await this.$http.get('/basicInfo/XhProductModel/tree')
this.productList = res.data
+ console.log(res.data,'async getProductList()')
},
add() {
this.$refs.AddOrUpdate.$refs.dialog.init(null,{id: null, type: 'tree'})
--
Gitblit v1.9.1