NEZ-1833 perf : asset 新增修改页面 Type & model 调整

This commit is contained in:
likexuan
2022-04-26 09:38:33 +08:00
parent 29258f31d3
commit 4db091ef1e

View File

@@ -554,10 +554,7 @@ export default {
methods: { methods: {
judgeType () { judgeType () {
if (!this.editAsset.type.name) { if (!this.editAsset.type.name) {
this.$message({ this.$message.error(this.$t('asset.assetBox.message.type'))
type: 'error',
message: '请先选择Type值'
})
return false return false
} else { } else {
this.judgeTypes = false this.judgeTypes = false