Commit 115c5409 by 尹亚亭

modify sekftmreg

parent 1f9fd8c7
......@@ -35,7 +35,7 @@
</p>
<p>
<strong>商标图样:</strong>
<img
<!-- <img
:src="
this.$parent.$parent.confirmStepsParams.stepOneThreeParams.type ==
1 &&
......@@ -45,7 +45,8 @@
: brandIconManual
"
alt
/>
/> -->
<img :src="brandIcon" alt />
</p>
<p>
<strong>商标类别:</strong>
......@@ -224,9 +225,8 @@ export default {
return {
textarea: "",
// 选中的商标种类
checkedKinds: [],
// 商标展示
brandIcon: "",
// 手动上传 或 上传 的商标
brandIconManual: "",
// 自动上传的商标
......@@ -247,14 +247,14 @@ export default {
}
},
created() {
// 获取缓存里面的已经选中的商品/服务项
let checkedKinds = JSON.parse(localStorage.getItem("classDataList"));
this.checkedKinds = checkedKinds;
// 获取缓存里面的商标图片地址
let brandIconManual = localStorage.getItem("manualImgToConfirm");
this.brandIconManual = brandIconManual;
let brandIconAuto = localStorage.getItem("autoImgToConfirm");
this.brandIconAuto = brandIconAuto;
let brandIcon = localStorage.getItem("icon");
this.brandIcon = brandIcon;
}
};
</script>
......
......@@ -357,6 +357,7 @@ export default {
}
},
mounted() {
localStorage.removeItem("icon");
// 页面初始挂载成功之后先清除之前的缓存的图片信息
localStorage.removeItem("manualImgToConfirm");
localStorage.removeItem("autoImgToConfirm");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment