live change link-example color by selected color

This commit is contained in:
andy.lee authored and Andy Lee committed 2024-10-31 16:40:08 +08:00
1 parent 7c07153469
commit 553a837381
1 file changed
+4 -1
@@ -85,6 +85,9 @@ export default {
const schema = this.$store.getters[`management/schemaFor`](MANAGEMENT.SETTING);
return schema?.resourceMethods?.includes('PUT') ? _EDIT : _VIEW;
},
customLinkColor() {
return { color: this.uiLinkColor };
}
},
mounted() {
@@ -320,7 +323,7 @@ export default {
component-testid="link"
/>
<span class="col link-example">
<a>
<a :style="customLinkColor">
{{ t('branding.linkColor.example') }}
</a>
</span>