[BScroll warn]: Can not resolve the wrapper DOM. 的解決
維護專案時,遇到錯誤如下:
[BScroll warn]: Can not resolve the wrapper DOM. Vue better-scroll
[Vue warn]: Error in mounted hook: “TypeError: Cannot read property ‘children’ of undefined”
問題分析:
BScroll 未獲得到 DOM
解決辦法:
1.找到使用BScroll 的地方,
專案中使用的如下:
import BScroll from 'bscroll';
initScroll() {
let that = this;
// 表格頭部右側橫向滾動條
var headerRightDom = document.querySelector('.right-header-table');
}
2.找到“right-header-table”的節點
<div v-if="">
<div class="right-header-table">
</div>
</div>
問題就出在v-if 修改為v-show,報錯解決。
相關推薦
[BScroll warn]: Can not resolve the wrapper DOM. 的解決
技術標籤:前端Vueweb 維護專案時,遇到錯誤如下: [BScroll warn]: Can not resolve the wrapper DOM. Vue better-scroll [Vue warn]: Error in mounted hook: “TypeError: Cannot read property ‘children’
org.apache.spark.sql.AnalysisException: Can not create the managed table
spark執行過程中偶發性出現錯誤。 Traceback (most recent call last): File \"/dfs/data9/nm-local-dir/usercache/hadoop/appcache/application_1666879209698_29104/container_e26_1666879209698_29104_01_000001/
Failed to compile. ./src/utils/request.js Module not found: Error: Can‘t resolve ‘util-merge‘ in ‘C
在webstorm執行vue的一個專案,訪問主頁報錯: Failed to compile. ./src/utils/request.js Module not found: Error: Can\'t resolve \'util-merge\' in \'C:\\Users\\Pactera\\Desktop\\rtt_web\\src\\ut
weex專案bug記錄: Module not found: Error: Can‘t resolve ‘
技術標籤:weex專案中遇到的bugvuebug weex專案bug記錄 問題:weex專案,引入自定義元件時,報錯:Module not found: Error: Can\'t resolve \'../components/LVCustomPrompt\'
ERROR in Entry module not found: Error: Can‘t resolve ‘../src/index.js‘ in where
技術標籤:webpack4.x 問題解決: entry: path.resolve(__dirname, \'../src/index.js\'), output: {
flink clickhouse-jdbc和flink-connector 寫入資料到clickhouse因為jar包衝突導致的60 seconds.Please check if the requested resources are available in the YARN cluster和Could not resolve ResourceManager address akka報錯血案
一、問題現象,使用flink on yarn 模式,寫入資料到clickhouse,但是在yarn 叢集充足的情況下一直報:Deployment took more than 60 seconds. Please check if the requested resources are available in the YARN
【已解決】前端到後端400錯誤(The server cannot or will not process the request due to...)
看到400錯誤,一般是請求無效。出現該異常一般有三種情況: 第一種情況: 前端提交的內容在後端一般都用String型別來接收,用Date型別接收會報錯。
微服務中使用Redis遇到問題 Could not resolve type id ** into a subtype
問題背景: 有多個服務 admin-login-service 服務(處理管理員登入) redis-service 服務(提供redis操作)
IDEA下因Lombok外掛產生的Library source does not match the bytecode報錯問題及解決方法(親測可用)
寫專案的時候 遇到了個這個問題:Library source does not match the bytecode XXX 然後自己找了找 大部分的解決方法都是沒有解決方法 越看心越涼
Could not find the Qt platform plugin windows錯誤解決方法
在PyCharm中執行PyQt5視窗程式時,出現了下圖所有的錯誤提示。 出現該問題的原因是環境變數沒有新增。
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':classpath'.
前言 這個錯誤怎麼看呢? 如果你對gradle 不是很瞭解的話,有一個建議,就是把異常背下來,當然是看這個:ArtifactResolveException哈。
mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
O(∩_∩)O哈哈~ 在學習 Mysql 的時候又遇到了新問題了 o(╥﹏╥)o 當我在準備為使用者授權的時候:
解決MySQL 8.0 設定簡單密碼報錯ERROR 1819 (HY000): Your password does not satisfy the current policy require...
MySQL8.0下設定簡單密碼出現錯誤提示:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
CF757G Can Bash Save the Day?(可持久化邊分治)
CF757G Can Bash Save the Day?(可持久化邊分治) 題目大意 一棵 \\(n\\) 個點的樹和一個排列 \\(p_i\\) ,邊有邊權,支援兩種操作:
http://mirrors.cloud.aliyuncs.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error" Trying other mirror.問題解決
今天準備用虛擬機器安裝docker發現yum下載不能用了 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
ERROR 1819 (HY000) Your password does not satisfy the current policy requirements mysql> create user \'test1\'@\'localhost\' identified by \'123456\';
Mybatis Generator 路徑和實體類要放的路徑不一致 導致Could not resolve type alias
Mybatis Generator 路徑和實體類要放的路徑不一致。會出現一系列的錯誤。手動修改alias也還是會報錯,直接重新生成
Could not resolve all artifacts for configuration ':classpath'.
“org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$Artifact”Could not resolve all artifacts for configuration \':classpath\'.
[k8s]Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)
檢視容器資源報錯 kubectl top nodes kubectl top pods [root@master ~]# kubectl top nodes Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)
Caused by: java.lang.IllegalStateException: Could not resolve element type of Iterable type @。。。。。web.bind.annotation.RequestParam java.util.List<?>. Not declared?
報錯資訊看頭和尾,中間過程不準確 2020-08-16 18:06:27 |ERROR |main |SpringApplication.java:826 |org.springframework.boot.SpringApplication |Application run failed