Commit cded661f authored by “yiyousong”'s avatar “yiyousong”

perf: 优化应用信息

parent ef6f6eb1
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<a-radio :value="2"> URL </a-radio> <a-radio :value="2"> URL </a-radio>
<a-radio :value="3" v-if="form.type != 1"> 微信小程序 </a-radio> <a-radio :value="3" v-if="form.type != 1"> 微信小程序 </a-radio>
<a-radio :value="4" v-if="form.type != 2"> 天府通办 </a-radio> <a-radio :value="4" v-if="form.type != 2"> 天府通办 </a-radio>
<a-radio :value="5"> Router </a-radio>
</a-radio-group> </a-radio-group>
</a-form-model-item> </a-form-model-item>
<a-form-model-item <a-form-model-item
...@@ -301,6 +302,7 @@ export default { ...@@ -301,6 +302,7 @@ export default {
// 改变类型 // 改变类型
changeAppType(e) { changeAppType(e) {
let val = e.target.value; let val = e.target.value;
this.$refs.form.clearValidate(["url", "filePath"]);
if (val == 1) { if (val == 1) {
this.form.url = ""; this.form.url = "";
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment