Comments (8)
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
from cloudbase-framework.
可以看下这个文档
https://github.com/TencentCloudBase/cloudbase-vue#vuecloudbase
from cloudbase-framework.
可能是我基础有点弱,我还是没get 获取uid的方法
另外看到您给我分享的教程,我看到获取云存储真实url的代码为:
<CloudFile
id="cloud://file-cloud-path"
v-slot="{ url, loading }"
{{ url ? url : 'loading...' }}
这是不是说,在 Vue 中用这个代替 cloud.getTempFileURL()
from cloudbase-framework.
CloudFile 这个方便些
this.$cloudbase 就相当于 app
所以可以 this.$cloudbase.auth().hasLoginState().user.uid
from cloudbase-framework.
我这里 this.$cloudbase.auth().hasLoginState()下面就只有accesstoken和refreshtoken,没有user什么的
from cloudbase-framework.
@chatterzhao 这里是因为Vue 插件的版本依赖的tcb-js-sdk 没有升级,我们处理下
from cloudbase-framework.
@binggg 非常感谢
from cloudbase-framework.
已解决,可以升级 @cloudbase/vue-provider 到 0.3.0
基于 CLI 创建新的 vue 相关的模板也已经更新了
from cloudbase-framework.
Related Issues (20)
- [Feature] NextJS 框架部署相关规则更新?
- 【gatsby应用部署】安装 gatsby-sharp插件失败, 导致构建不成功 HOT 5
- excel导出不能打开
- 允许 framework-plugin-container 直接提交而不等待部署结果
- nuxt.config.js 编译有bug,ReferenceError: regeneratorRuntime is not defined HOT 1
- cloudbaserc.json的环境变量,不支持设置json string的格式 HOT 3
- cloudbaserc.json中能否添加云函数超时时间配置支持
- [Feature request] 静态网站托管希望增加【增量部署】
- framework-plugin-node增加绑定域名
- Node版本增加 HOT 4
- 有关nestjs cloudbase-template创建失败问题
- 支持上传私有包
- cloudbase framework deploy hexo 报错 HOT 5
- nuxt.js 应用的serverMiddleware 引入失败
- 部署VuePress无法成功 HOT 4
- 配置 ignore 没有效果
- 建议[云托管容器插件]支持 ignore 参数
- unity版本请去掉newtonsoft的json包上传一下,unity已经内置这个包跟你们的冲突了
- 构建web应用托管时出现只能获取较低版本node
- BrowserFS Deprecated
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 cloudbase-framework.