Foreword
Time to try a new development framework is bound to encounter a variety of problems. For a start you may not be familiar with the document, resulting in configuration errors, or api
using the wrong. Of course, the development of the framework when we can not confirm there is no problem, if there is bug
. So in some cases wrong, we might continue to doubt yourself, doubt framework, the final suspect in life. This time it needs developers to play a selfless spirit, active discussion, contribute their records and fill the hole Tips for discussion reference. So here I first met record collection and his own pit, hoping to play a valuable role. We have different problems could be discussed together, facilitate the later developers.
Error-prone
1. Update rpk occur when the 版本号必须高于上一个版本
error of
This problem occurs because the official fast application to configure the manifest.json property versionCode
values to confirm the version of the update, the official requested each time the value added to our update requires manually increment 1
. Many students mistakenly think versionName to modify the updated version, versionName should be one of those shown in the app store
2. Use the list
components caused by application闪退
According to documentation, list the following list-item components are configurable type
attribute to optimize the rendering, but with the same type attribute list-item
of dom结构
must be the same, if there will be inconsistencies flash back, but do not see any error description, people find less than cause of the error, it is a headache. So we should try not to use inside if
and for
instruction, which can easily occur resulting in inconsistent application structure dom flash back.
3. In the protected public private
property defined in, in template
can not get in
In the form of a variety of custom data in a fast application, respectively, can be defined in protected public private data inside, but there is an easily overlooked details in the official document is described only in a protected public private 页面级组件
use in order, so, naturally did not get the data in a custom component, non-page-level assembly can not be used in the template.
4. Upload rpk, there have应用签名校验失败
Usually we use development and test time is npm run build packaged debugging command, which uses sign the following signatures and certificates debug runtime to package rpk. When we developed ready to upload, complete the following steps:
- Issued certificates and signatures generated: Run
openssl req -newkey rsa:2048 -nodes -keyout private.pem -x509 -days 3650 -out certificate.pem
- In sign a new directory
release
folder, the resulting certificate.pem put into it and private.pem - Run
npm run release
generated at.signed.rpk
the end of the release for rpk
Official IDE
been a key support for debugging, a key to generate a signature and other functions, that the above steps troublesome students can go to experience the experience, download link https: //www.quickapp.cn/docCe ...
Currently does not support local
-
background
Currently does not support network picture, so when the picture you want to use the network should consider the use ofimage
components to replace - Unable to
canvas
assembly into a picture stored locally -
swiper
Does not support the control direction, only support horizontal scroll - does not support css
overflow
styles can not be set or display beyond the scroll. Slide assembly provided with onlylist
component
But according to informed the students related development, these features have been developed and are improving and will soon be supported.
to sum up
Relatively speaking, as a new application of a new ecology, fast application there are still many deficiencies need to improve. But it does not require installation, and more quickly open the entrance is a certain advantage. In the foreseeable future, there will be more and more companies and developers to join them. This paper aims to summarize met by recording their own problems in the development process and solutions, easy access to newcomers.