mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user