解决oss问题

This commit is contained in:
Yer11214
2024-10-07 22:23:05 +08:00
parent 1923061d78
commit 0a1182f1e6
2 changed files with 12 additions and 19 deletions

View File

@@ -354,12 +354,6 @@
</div>
<h4>商品详情描述</h4>
<div class="form-item-view">
<div class="tree-bar">
<FormItem class="form-item-view-el" label="店内分类" prop="shopCategory">
<Tree ref="tree" :check-strictly="false" :data="shopCategory" show-checkbox style="text-align: left"
@on-select-change="selectTree" @on-check-change="changeSelect"></Tree>
</FormItem>
</div>
<FormItem class="form-item-view-el" label="PC商品描述" prop="intro" style="width: 100%">
<editor
ref="editor"
@@ -1187,7 +1181,7 @@ export default {
this.goodsParams = []
API_GOODS.getCategoryParamsListDataSeller(this.categoryId).then(
(response) => {
if (!response || response.length <= 0) {
if (!Array.isArray(response) || response.length <= 0) {
return;
}
this.goodsParams = response;