1. The interface view is not refreshed in a timely manner

If you use data such as numbers, bores, strings, etc. to determine whether the view is displayed, use this.xxx.yyy = ZZZ in the method to update the data, but the view judgment does not necessarily update. $set(this. XXX,’yyy’, ZZZ)(this method does not work with root level data)

2. Mobile terminal test

On the same LAN, you can set package.json to

"Dev ": "cross-env NODE_ENV=development webpack-dev-server --hot --port 8999 --host 192.168.0.105 ",Copy the code

Window +R open CMD then type ipconfig to see the ipv4 address

Change localhost to the corresponding host IP address

On the scoped style of vue

If a component is styled with this in it, the modification will not take effect when it is called (similar to the modification of the element-UI style). I myself usually use /deep/ before the class name or the parent class name >>> subclass name

If you have any questions please answer them if I can or point out any mistakes in the article thank you