labbomb commented on code in PR #99:
URL:
https://github.com/apache/incubator-paimon-webui/pull/99#discussion_r1426203865
##########
paimon-web-ui-new/src/views/cdc/index.tsx:
##########
@@ -21,12 +21,12 @@ import styles from './index.module.scss';
import { Leaf } from '@vicons/ionicons5';
import { useCDCStore } from '@/store/cdc';
import type { Router } from 'vue-router';
-
+import { useMessage } from 'naive-ui'
export default defineComponent({
name: 'CDCPage',
setup() {
const { t } = useLocaleHooks()
-
+ window.$message = useMessage()
Review Comment:
Why mount useMessage in window
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]