mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +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();
|
||||
|
||||
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 = '项目已存在';
|
||||
} else {
|
||||
this.nameError = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user