Comments (4)
+1 我这边也需要数据预拉取功能
from uni-app.
- 把相关配置定义在
manifest.json
文件的mp-toutiao
里,会自动同步到app.json
文件中 - 直接使用即可,
uni.getSystemInfoSync(true)
或uni.getSystemInfo({useCache: true})
- 后续会支持
from uni-app.
问题3下个版本会支持,临时解决方案:
-
vue2 项目替换 文件 到
HBuilderX根目录/plugins/uniapp-cli/node_modules/@dcloudio/uni-mp-toutiao/dist/
vue3 项目替换 文件 到HBuilderX根目录/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-toutiao/dist/
-
在组件中添加
virtualHost
属性,具体可以参考 文档
export default {
data(){ return { } },
options: {
virtualHost: true
}
}
from uni-app.
请升级到最新版,已支持。
from uni-app.
Related Issues (20)
- vue3中使用事件event.stopPropagation()无法阻止touchmove事件冒泡,但是如果给事件绑定的地方加上.stop事件修饰符却可以阻止冒泡 HOT 1
- Vue3 项目安卓真机调试报错:Cannot read property '$page' of undefined HOT 2
- this.$refs又获取不到值了 HOT 8
- uniapp 我使用npx升级到最新以后编译小程序使用import报错了 HOT 1
- uniapp 我使用npx升级到 3.0.0-alpha-4010520240507001 以后编译编译微信小程序报错了 HOT 3
- 使用uni.chooseLocation API定位时偏移过大 HOT 5
- 使用 @dcloudio/uvm 更新 vue3 最新版本依赖报错 HOT 1
- 我在使用map里面的自定义气泡的时候,出现了cover-image图片和气泡本身错位的情况(微信小程序模拟器没有复现,真机的情况下大概率会出现这种错位,然后点击图片之后,图片又会回到气泡上,然后再次点击可能会造成图片消失),另外点击气泡之后本来应该出现的动画也没有(模拟器动画没有失效,但是真机测试失效) HOT 1
- ESM 支持
- rich-text 重复文案 HOT 1
- 【求助】uni.authorize 授权失败问题 HOT 1
- uniappx中如何获得plus.android.runtimeMainActivity对象
- ios蓝牙低功耗连接,开启特征值变化监听系统异常
- 我在使用map里面的自定义气泡的时候,出现了cover-image图片和气泡本身错位的情况(微信小程序模拟器没有复现,真机的情况下大概率会出现这种错位,然后点击图片之后,图片又会回到气泡上,然后再次点击可能会造成图片消失),另外点击气泡之后本来应该出现的动画也没有(模拟器动画没有失效,但是真机测试失效) HOT 1
- vite+vue3使用unplugin-icons报错 HOT 3
- [Bug Mp-Weixin]: 在模板内无法使用基本类型变量
- vue3 calendar reactive数据失去响应式 HOT 1
- vue3版本app中vite编译器使用import.meta.glob报错,不能正常使用
- 使用cli版本模式开发,import.meta.glob 或者 globEager报错
- H5端访问不到分包的static文件 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uni-app.