xzw 3 年之前
父节点
当前提交
6f5bfa3961
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/Hot.js

+ 1 - 1
js/Hot.js

@@ -1019,7 +1019,7 @@ window.initHot = function(model){
         
         
         setTitleDir(){
-            this.titleElem.elem.attr('pos',this.info.titlePos)
+            this.titleElem && this.titleElem.elem.attr('pos',this.info.titlePos)
         }