skyblued 3 سال پیش
والد
کامیت
33b8e2e3c5
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      src/components/col-header/index.tsx

+ 9 - 0
src/components/col-header/index.tsx

@@ -51,6 +51,15 @@ export default defineComponent({
       default: () => {}
     }
   },
+  watch:{
+    backIconColor(){
+      // 设置返回按钮颜色
+      postMessage({
+        api: 'backIconChange',
+        content: { iconStyle: this.backIconColor }
+      })
+    }
+  },
   data() {
     return {
       headerTitle: null as any,