qy-renren-qt/dist/2209301437/static/js/54.js

1 line
6.6 KiB
JavaScript
Raw Permalink Normal View History

2022-09-30 14:43:03 +08:00
webpackJsonp([54],{"C+ej":function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("el-dialog",{attrs:{title:"云存储配置","close-on-click-modal":!1,visible:e.visible},on:{"update:visible":function(a){e.visible=a}}},[t("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"120px"},nativeOn:{keyup:function(a){if(!("button"in a)&&e._k(a.keyCode,"enter",13,a.key,"Enter"))return null;e.dataFormSubmit()}}},[t("el-form-item",{attrs:{size:"mini",label:"存储类型"}},[t("el-radio-group",{model:{value:e.dataForm.type,callback:function(a){e.$set(e.dataForm,"type",a)},expression:"dataForm.type"}},[t("el-radio",{attrs:{label:1}},[e._v("七牛")]),e._v(" "),t("el-radio",{attrs:{label:2}},[e._v("阿里云")]),e._v(" "),t("el-radio",{attrs:{label:3}},[e._v("腾讯云")])],1)],1),e._v(" "),1===e.dataForm.type?[t("el-form-item",{attrs:{size:"mini"}},[t("a",{attrs:{href:"http://www.renren.io/open/qiniu.html",target:"_blank"}},[e._v("免费申请(七牛)10GB储存空间")])]),e._v(" "),t("el-form-item",{attrs:{label:"域名"}},[t("el-input",{attrs:{placeholder:"七牛绑定的域名"},model:{value:e.dataForm.qiniuDomain,callback:function(a){e.$set(e.dataForm,"qiniuDomain",a)},expression:"dataForm.qiniuDomain"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"路径前缀"}},[t("el-input",{attrs:{placeholder:"不设置默认为空"},model:{value:e.dataForm.qiniuPrefix,callback:function(a){e.$set(e.dataForm,"qiniuPrefix",a)},expression:"dataForm.qiniuPrefix"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"AccessKey"}},[t("el-input",{attrs:{placeholder:"七牛AccessKey"},model:{value:e.dataForm.qiniuAccessKey,callback:function(a){e.$set(e.dataForm,"qiniuAccessKey",a)},expression:"dataForm.qiniuAccessKey"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"SecretKey"}},[t("el-input",{attrs:{placeholder:"七牛SecretKey"},model:{value:e.dataForm.qiniuSecretKey,callback:function(a){e.$set(e.dataForm,"qiniuSecretKey",a)},expression:"dataForm.qiniuSecretKey"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"空间名"}},[t("el-input",{attrs:{placeholder:"七牛存储空间名"},model:{value:e.dataForm.qiniuBucketName,callback:function(a){e.$set(e.dataForm,"qiniuBucketName",a)},expression:"dataForm.qiniuBucketName"}})],1)]:2===e.dataForm.type?[t("el-form-item",{attrs:{label:"域名"}},[t("el-input",{attrs:{placeholder:"阿里云绑定的域名"},model:{value:e.dataForm.aliyunDomain,callback:function(a){e.$set(e.dataForm,"aliyunDomain",a)},expression:"dataForm.aliyunDomain"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"路径前缀"}},[t("el-input",{attrs:{placeholder:"不设置默认为空"},model:{value:e.dataForm.aliyunPrefix,callback:function(a){e.$set(e.dataForm,"aliyunPrefix",a)},expression:"dataForm.aliyunPrefix"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"EndPoint"}},[t("el-input",{attrs:{placeholder:"阿里云EndPoint"},model:{value:e.dataForm.aliyunEndPoint,callback:function(a){e.$set(e.dataForm,"aliyunEndPoint",a)},expression:"dataForm.aliyunEndPoint"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"AccessKeyId"}},[t("el-input",{attrs:{placeholder:"阿里云AccessKeyId"},model:{value:e.dataForm.aliyunAccessKeyId,callback:function(a){e.$set(e.dataForm,"aliyunAccessKeyId",a)},expression:"dataForm.aliyunAccessKeyId"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"AccessKeySecret"}},[t("el-input",{attrs:{placeholder:"阿里云AccessKeySecret"},model:{value:e.dataForm.aliyunAccessKeySecret,callback:function(a){e.$set(e.dataForm,"aliyunAccessKeySecret",a)},expression:"dataForm.aliyunAccessKeySecret"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"BucketName"}},[t("el-input",{attrs:{placeholder:"阿里云BucketName"},model:{value:e.dataForm.aliyunBucketName,callback:function(a){e.$set(e.dataForm,"aliyunBucketName",a)},expression:"dataForm.aliyunBucketName"}})],1)]:3===e.dataForm.type?[t("el-form-item",{attrs:{label:"域名"}},[t("el-input",{attrs:{placeholder:"腾讯云绑定的域名"},model:{value:e.dataF