zhangjie 2 years ago
parent
commit
f61d8cc055

+ 1 - 2
src/modules/admin/app-deploy/AppDeployManage.vue

@@ -46,10 +46,9 @@
           </el-table-column>
           <el-table-column prop="expireTime" label="过期时间" width="170">
             <template slot-scope="scope">
-              <span v-if="scope.row.control.expireTime">
+              <span v-if="scope.row.control">
                 {{ scope.row.control.expireTime | timestampFilter }}
               </span>
-              <span v-else>无</span>
             </template>
           </el-table-column>
           <el-table-column

+ 1 - 1
src/modules/admin/app-nginx/EditNginxContent.vue

@@ -32,7 +32,7 @@
         v-if="!isEdit"
         :class="['nginx-body-cont', { 'is-none': !nginxContent }]"
       >
-        {{ nginxContent || "暂无内容" }}
+        <div v-html="nginxContent || '暂无内容'"></div>
       </div>
       <div v-else class="nginx-body-edit">
         <el-input v-model="nginxContent" type="textarea"></el-input>