Merge pull request 'test' (#227) from test into master

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/227
This commit is contained in:
2025-01-15 14:35:51 +00:00
2 changed files with 3 additions and 10 deletions

View File

@@ -1,16 +1,9 @@
#!/bin/sh
# 定义应用组名
group_name='clay'
# 定义应用名称
app_name=$DRONE_REPO_NAME
# 定义应用版本
app_version=$DRONE_COMMIT
echo ${app_version}
# 打包编译docker镜像
docker rm -f smartopsweb
docker rmi smartopsweb:latest
echo '----build image start----'
docker build -t smartopsweb:latest .
echo '----build image success----'
docker run --name smartopsweb --link smartopsserver --restart=always -d -p 28081:80 smartopsweb:latest
docker run --name smartopsweb --link smartopsserver --restart=always -d -p 8080:80 smartopsweb:latest

View File

@@ -61,8 +61,8 @@ const formRules = reactive({
{required: true, message: "请输入拨打单位", trigger: ["change", "blur"]}
],
phone: [
{required: true, message: "请输入手机号码", trigger: ["change", "blur"]},
{validator: checkPhone, trigger: ["change", "blur"]},
{required: true, message: "请输入手机号码", trigger: ["change", "blur"]}
//{validator: checkPhone, trigger: ["change", "blur"]},
]
});
const formSchema = computed(() => {