v2.0.2-beta.q

This commit is contained in:
huanqing.shao
2020-06-21 23:33:54 +08:00
parent 0a35e52720
commit 194e8127b8
5 changed files with 50 additions and 2 deletions

View File

@ -91,4 +91,13 @@ export default ({
// console.log('sharing', sharing)
Vue.prototype.$isSharing = sharing
Vue.prototype.$openUrlInBlank = function (url) {
let a = document.createElement('a')
document.body.appendChild(a)
a.setAttribute('href', url)
a.setAttribute('target', '_blank')
a.click()
document.body.removeChild(a)
}
}

View File

@ -18,7 +18,7 @@ meta:
* 修改上传文件的大小限制 `nginx.org/client-max-body-size`
* 在开启 HTTPS 时,默认重定向到 HTTPS `nginx.org/redirect-to-https`
* 启用 websocket `nginx.org/websocket-services`
* 更多请参考文档 [nginx-ingress ConfigMap and Annotations](https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/configmap-and-annotations.md)
* 更多请参考文档 [nginx-ingress ConfigMap and Annotations](https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/)
## ingress-nginx

View File

@ -0,0 +1,6 @@
tar_ Refusing to write archive contents to terminal (missing -f option_)_tar_ Error is not recoverab
v1.30
mysql:5.7

View File

@ -13,6 +13,12 @@ Kuboard v2.0.x 的更新说明
了解 [从Kuboard v1.0.x 升级到 Kuboard v2.0.x](./upgrade-1-2.html)
## v2.0.2-beta.1
**新特性**
* 从容器中复制文件到本地
## v2.0.1
**新特性**

View File

@ -113,7 +113,34 @@ Kuboard 是一款免费的 Kubernetes 管理工具,提供了丰富的功能,
## 订阅
<KbIframe style="margin-top: 10px" src="https://uc.kuboard.cn/public/home"></KbIframe>
<KbIframe v-if="isDev" style="margin-top: 10px" src="http://localhost:25679/public/home" :commands="commands"></KbIframe>
<KbIframe v-else style="margin-top: 10px" src="https://uc.kuboard.cn/public/home" :commands="commands"></KbIframe>
<script>
export default {
data () {
return {
commands: {
openUserCenter: this.openUserCenter,
}
}
},
computed: {
isDev () {
return process.env.NODE_ENV === 'development'
}
},
methods: {
openUserCenter (params) {
let url = 'https://uc.kuboard.cn' + params.path
if (this.isDev) {
url = 'http://localhost:25679' + params.path
}
this.$openUrlInBlank(url)
},
}
}
</script>
## 已采纳用户