Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
d5700432
提交
d5700432
编写于
3月 21, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
环境变量修改
上级
a2cbf988
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
12 行增加
和
11 行删除
+12
-11
env-config.js
src/utils/env-config.js
+6
-6
create-component.vue
src/views/education/create-component.vue
+6
-5
未找到文件。
src/utils/env-config.js
浏览文件 @
d5700432
...
...
@@ -31,26 +31,26 @@ export const envConfig = {
qiniuFileUrl
:
"https://test1-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
loginUrl
:
'https://test1
-saas
.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://test1.yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://test1-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://test
-saas
.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://test
1
.yunqueyi.com/pica_index.html'
},
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com/portal/'
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
// 视频
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
loginUrl
:
'https://uat
-saas
.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://uat.yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://uat-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://uat
-saas
.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
},
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com/portal/'
,
qiniuFileUrl
:
"https://sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://videos.yunqueyi.com"
,
qiniuImgUrl
:
"https://file.yunqueyi.com"
,
loginUrl
:
'https://
saas.
yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://
saas
.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://
www
.yunqueyi.com/pica_index.html'
}
}
src/views/education/create-component.vue
浏览文件 @
d5700432
...
...
@@ -285,7 +285,7 @@
<
script
>
import
BreadCrumb
from
'../../components/breadcrumb.vue'
import
{
doUpload
,
getFilePath
}
from
"../../utils/qiniu-util"
import
{
validateWord150
}
from
"../../utils/validate.js"
//
import { validateWord150 } from "../../utils/validate.js"
import
{
mapGetters
}
from
'vuex'
import
{
openLoading
,
closeLoading
,
isNotEmptyUtils
,
isEmptyList
}
from
'../../utils/utils'
import
*
as
commonUtil
from
'../../utils/utils'
...
...
@@ -416,10 +416,11 @@ export default {
],
"introduce"
:
[
{
required
:
true
,
message
:
'请输入组件简介'
,
trigger
:
'blur'
},
{
validator
:
function
(
rule
,
value
,
callback
)
{
validateWord150
(
rule
,
value
,
callback
,
'超出可输入的最大长度'
)
},
trigger
:
'blur'
}
{
min
:
1
,
max
:
150
,
message
:
'超出可输入的最大长度'
,
trigger
:
'blur'
},
// { validator: function(rule, value, callback) {
// validateWord150(rule, value, callback, '超出可输入的最大长度')
// },
// trigger: 'blur' }
],
"imageUrl"
:
[
{
required
:
true
,
message
:
'请上传组件图片'
,
trigger
:
'blur'
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录