Showing
1 changed file
with
11 additions
and
11 deletions
| ... | ... | @@ -49,17 +49,17 @@ | 
| 49 | 49 | ]" | 
| 50 | 50 | /> | 
| 51 | 51 | </template> | 
| 52 | - <Authority value="api:yt:js:update:status"> | |
| 53 | - <template #status="{ record }"> | |
| 54 | - <Switch | |
| 55 | - :checked="record.status === 1" | |
| 56 | - :loading="record.pendingStatus" | |
| 57 | - checkedChildren="启用" | |
| 58 | - unCheckedChildren="禁用" | |
| 59 | - @change="(checked:boolean)=>statusChange(checked,record)" | |
| 60 | - /> | |
| 61 | - </template> | |
| 62 | - </Authority> | |
| 52 | + <template #status="{ record }"> | |
| 53 | + <Switch | |
| 54 | + :checked="record.status === 1" | |
| 55 | + :loading="record.pendingStatus" | |
| 56 | + checkedChildren="启用" | |
| 57 | + unCheckedChildren="禁用" | |
| 58 | + @change="(checked:boolean)=>statusChange(checked,record)" | |
| 59 | + /> | |
| 60 | + </template> | |
| 61 | + <!-- <Authority value="api:yt:js:update:status"> | |
| 62 | + </Authority> --> | |
| 63 | 63 | </BasicTable> | 
| 64 | 64 | <ConverScriptModal @register="registerModal" @success="handleSuccess" /> | 
| 65 | 65 | </div> | ... | ... |