Vue introduces jQuery--ztree error reporting jQuery is not defined?

because if you want to do ztree, in the project, you want to use ztree in element-ui at that time, but the format of the data returned from the backend is not the same as that of ztree in element-ui. You can only use jQuery--ztree, to download the package of ztree at that time, and then introduce ztree to report an error jQuery is not defined?

.

clipboard.png
learned that ztree depends on jQuery, so I quoted jQuery

earlier.

Code

let $ = require("jquery")
window.$ = $

import "ztree"
import "ztree/css/metroStyle/metroStyle.css"
Mar.13,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e0b0-2bb5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e0b0-2bb5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?