Browse Source

docs(VBindCss): 添加关于微信小程序样式绑定的备注

feige996 8 months ago
parent
commit
dc7ea80da4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/pages/about/components/VBindCss.vue

+ 1 - 0
src/pages/about/components/VBindCss.vue

@@ -1,4 +1,5 @@
 <script lang="ts" setup>
+// 备注:本文件内容直接放到 about.vue 页面,在`微信小程序`里面不生效,单独放到一个文件却生效,原因未知
 const testBindCssVariable = ref('red')
 function changeTestBindCssVariable() {
   if (testBindCssVariable.value === 'red') {