File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
containers/Ai/views/llm/sidepage Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -259,24 +259,27 @@ export default {
259259 title: this .$t (' aice.login_password' ),
260260 slots: {
261261 default : () => {
262- const displayValue = this .loginPasswordVisible ? (password || ' -' ) : ' ••••••'
262+ const displayValue = this .loginPasswordVisible ? (password || ' -' ) : password ? ' ••••••' : ' - '
263263 return [
264264 < div class = " login-password-row" >
265265 < span class = " login-password-value" > {displayValue}< / span>
266- < a- icon
267- class = " login-password-eye ml-1"
268- type= {this .loginPasswordVisible ? ' eye-invisible' : ' eye' }
269- theme= " twoTone"
270- twoToneColor= " #1890ff"
271- on- click= {() => { this .loginPasswordVisible = ! this .loginPasswordVisible }}
272- / >
273- < a- icon
274- class = " login-password-copy ml-1"
275- type= " copy"
276- theme= " twoTone"
277- twoToneColor= " #1890ff"
278- on- click= {() => this .copyLoginPassword (password)}
279- / >
266+ {password &&
267+ [
268+ < a- icon
269+ class = " login-password-eye ml-1"
270+ type= {this .loginPasswordVisible ? ' eye-invisible' : ' eye' }
271+ theme= " twoTone"
272+ twoToneColor= " #1890ff"
273+ on- click= {() => { this .loginPasswordVisible = ! this .loginPasswordVisible }}
274+ / > ,
275+ < a- icon
276+ class = " login-password-copy ml-1"
277+ type= " copy"
278+ theme= " twoTone"
279+ twoToneColor= " #1890ff"
280+ on- click= {() => this .copyLoginPassword (password)}
281+ / > ,
282+ ]}
280283 < / div> ,
281284 ]
282285 },
You can’t perform that action at this time.
0 commit comments