Blog | 博客

Apple WWDC22 Prediction Summary: iOS 16 adds a screen display, the new Mac Pro is coming?

Original link: https://www.ifanr.com/app/1493032 Have you noticed that there are more and more predictions about Apple’s new products recently, which means that the next Apple conference is coming? That’s right, this time is the WWDC22 Global Developers Conference in June. This year’s WWDC conference will be held online at 01:00 am Beijing time on June 7th.

Apple WWDC22 Prediction Summary: iOS 16 adds a screen display, the new Mac Pro is coming? Read More »

How to call RUST’s DLL with C#

Original link: https://www.chenxublog.com/2022/06/05/csharp-use-rust-dll.html Recently (six months ago) there was a project that needed to use c# to call rust’s dll, so research… This article is reprinted from: https://www.chenxublog.com/2022/06/05/csharp-use-rust-dll.html This site is for inclusion only, and the copyright belongs to the original author.

How to call RUST’s DLL with C# Read More »

Tail

Original link: https://onojyun.com/2022/06/05/6184/ The reason why dogs are more easily guessed than people is because it has more tails than people. But sometimes people are more likely to expose themselves than dogs, because people are more likely than dogs to have more minds. The dog wanted to eat a bone, so he wagged his tail

Tail Read More »

Solve the problem that the dist folder is too large after Vue is packaged

1. Do not generate a sorce map file Set productionSourceMap to false in vue.config.js When this option is turned off, the packaged file will be twice as small 2. If the component library is referenced, set the on-demand reference If your project references the component library, the development environment can be imported without thinking, and

Solve the problem that the dist folder is too large after Vue is packaged Read More »

Use of Vuex

foreword What is Vuex? The official documentation says this: Vuex 是一个专为Vue.js 应用程序开发的状态管理模式+ 库。它采用集中式存储管理应用的所有组件的状态,并以相应的规则保证状态以一种可预测的方式发生变化。 It can be understood that Vuex is a data management framework what Vuex has state (where state data is stored) getters (can be understood as the computed properties of the store) mutations (methods that change data in state (modify data synchronously)) actions

Use of Vuex Read More »

Encapsulate ajax request

foreword As the title, I encapsulated an own ajax request function. Uncompressed version: https://cdn.xxhzm.cn/request/request.js Compressed version: https://cdn.xxhzm.cn/request/request.min.js Instructions for use pass parameters URL address Request method (GET, POST) request parameters request header Whether to request asynchronously (true, false), asynchronous request is enabled by default GET GET takes no parameters and no request headers: <script src=”https://cdn.xxhzm.cn/request/request.min.js”></script>

Encapsulate ajax request Read More »

How to make RUST compile and generate files that do not depend on the VC++ library? (package static library)

Original link: https://www.chenxublog.com/2022/06/05/rust-without-vc-library.html Rust files compiled with msvc basically need to rely on Microso… This article is reprinted from: https://www.chenxublog.com/2022/06/05/rust-without-vc-library.html This site is for inclusion only, and the copyright belongs to the original author.

How to make RUST compile and generate files that do not depend on the VC++ library? (package static library) Read More »