import { is_weixin } from "@/utils/util.js"; const hideNav = { install (app) { app.directive('hideNav', { mounted(el, binding) { if(is_weixin()){ el.remove(); } }, }) } } export default hideNav;