diff options
Diffstat (limited to 'web/html/settings')
| -rw-r--r-- | web/html/settings/xray/routing.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/web/html/settings/xray/routing.html b/web/html/settings/xray/routing.html index e5b9b6c6..487f7963 100644 --- a/web/html/settings/xray/routing.html +++ b/web/html/settings/xray/routing.html @@ -67,18 +67,22 @@ </template> <template slot="info" slot-scope="text, rule, index"> <a-popover placement="bottomRight" - v-if="(rule.source+rule.sourcePort+rule.network+rule.protocol+rule.attrs+rule.ip+rule.domain+rule.port).length>0" + v-if="(rule.sourceIP+rule.sourcePort+rule.vlessRoute+rule.network+rule.protocol+rule.attrs+rule.ip+rule.domain+rule.port).length>0" :overlay-class-name="themeSwitcher.currentTheme" trigger="click"> <template slot="content"> <table cellpadding="2" :style="{ maxWidth: '300px' }"> - <tr v-if="rule.source"> - <td>Source</td> - <td><a-tag color="blue" v-for="r in rule.source.split(',')">[[ r ]]</a-tag></td> + <tr v-if="rule.sourceIP"> + <td>Source IP</td> + <td><a-tag color="blue" v-for="r in rule.sourceIP.split(',')">[[ r ]]</a-tag></td> </tr> <tr v-if="rule.sourcePort"> <td>Source Port</td> <td><a-tag color="green" v-for="r in rule.sourcePort.split(',')">[[ r ]]</a-tag></td> </tr> + <tr v-if="rule.vlessRoute"> + <td>VLESS Route</td> + <td><a-tag color="geekblue" v-for="r in rule.vlessRoute.split(',')">[[ r ]]</a-tag></td> + </tr> <tr v-if="rule.network"> <td>Network</td> <td><a-tag color="blue" v-for="r in rule.network.split(',')">[[ r ]]</a-tag></td> |
