
--- client/views/pages/user/CategoryManagement.vue
+++ client/views/pages/user/CategoryManagement.vue
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 |
<label for="use" class="require">사용여부</label> |
68 | 68 |
<div class="switch"> |
69 | 69 |
<input type="checkbox" id="switch" :checked="selectedCategory.useAt === 'Y'" |
70 |
- @change="toggleUseAt" /> |
|
70 |
+ @change="toggleUseAt" :disabled="!isNewInsert"/> |
|
71 | 71 |
<label for="switch">Toggle</label> |
72 | 72 |
</div> |
73 | 73 |
|
... | ... | @@ -206,7 +206,7 @@ |
206 | 206 |
this.ctgryId = null; |
207 | 207 |
this.selectedCategory = { |
208 | 208 |
ctgryNm: null, |
209 |
- useAt: null, |
|
209 |
+ useAt: "Y", |
|
210 | 210 |
dc: null |
211 | 211 |
}; |
212 | 212 |
this.copySelectedCategory = { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?