mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
99e0657355
commit
46e9ba52d7
@ -49,7 +49,7 @@ module.exports = Vue.component('project-base', {
|
|||||||
this.path = this.path.trim();
|
this.path = this.path.trim();
|
||||||
|
|
||||||
if (this.name) {
|
if (this.name) {
|
||||||
if (this.originName && this.originName !== this.name && this.unique[this.name]) {
|
if ((!this.originName || (this.originName && this.originName !== this.name)) && this.unique[this.name]) {
|
||||||
this.nameError = '项目已存在';
|
this.nameError = '项目已存在';
|
||||||
} else {
|
} else {
|
||||||
this.nameError = '';
|
this.nameError = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user