晓风残月

Results 11 comments of 晓风残月

> root@localhost:~# vncserver-start > > New Xtigervnc server 'remote-desktop' on port 5901 for display :1. Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server. > >...

在下的一点建议 ![image](https://user-images.githubusercontent.com/53382264/171143743-fd02ff5d-e0a5-4361-9b84-df40012d1dc2.png) 在crud mixins中data方法下api变量,如果该js文件中api方法过多时,vue会去循环代理该对象属性也就是api方法,造成不必要的资源浪费,在我使用过程中this.api并不会去修改,从而得到及时响应的需求,可提升在data函数中 ![image](https://user-images.githubusercontent.com/53382264/171145570-6cec9568-352a-45ff-b31f-44d458ad485f.png) 版本号 中后台管理 2.x

代码在component下data-v 地址:https://gitee.com/itpersons/vue3-ts-vite.git 我只改了一两个组件,可以参考改其他组件

> > > > 没看到~,是你删除了嘛 我回退了,是我之前不小心删了,在components中 https://gitee.com/itpersons/vue3-ts-vite.git

你是修改了ts的什么配置了吗? 我这里是可以build成功的,node:14.16.1 你重新拉取一下试试

vite.config.js的base路径我是配置好的只需要改一下文件即可