AlanLee1996 / wenda-webui

专为 l15y/wenda 闻达平台设计的webui
MIT License
447 stars 67 forks source link

etCurrentInstance在编译之后报错 #14

Closed RowgerGo closed 1 year ago

RowgerGo commented 1 year ago
const currentInstance = getCurrentInstance();
const settings = () => {
  console.log(currentInstance.ctx.$refs);
  currentInstance.ctx.$refs.settingsDialog.visible = true;
};

右上角设置按钮,这些写法在dev模式下正常,build之后报错。

AlanLee1996 commented 1 year ago

这个问题早就修复了,你重新拉代码再试试