zhengjinyi 4 rokov pred
rodič
commit
b7b187a062

+ 6 - 1
src/main/resources/templates/product/detail.html

@@ -223,7 +223,12 @@
             </div>
             <div class="tabCon">
                 <div class="item" v-if="tabsIndex == 0">
-                    <div th:utext="${product.detailInfo}"></div>
+                    <template v-if="isNoneDisabled">
+                        <p>暂无商品信息</p>
+                    </template>
+                    <template v-else>
+                        <div th:utext="${product.detailInfo}"></div>
+                    </template>
                 </div>
                 <div class="item" v-if="tabsIndex == 1">
                     <table>