Sfoglia il codice sorgente

fix: point develop env to cfc.etotem.com.cn; extract deep selector to non-scoped style for HBuilderX compat

openhands 3 mesi fa
parent
commit
3a02b2f240
2 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. 1 1
      cfc-frontend/config.js
  2. 5 2
      cfc-frontend/pages/tasks/review.vue

+ 1 - 1
cfc-frontend/config.js

@@ -19,7 +19,7 @@ try {
   if (env) {
     switch (env) {
       case 'develop':
-        API_BASE_URL = 'http://localhost:9082'
+        API_BASE_URL = 'http://cfc.etotem.com.cn'
         break
       case 'trial':
         API_BASE_URL = 'https://cfc.iwintrue.com'

+ 5 - 2
cfc-frontend/pages/tasks/review.vue

@@ -312,8 +312,11 @@ export default {
   width: 100%;
 }
 
-/* Deep selector to style PlayfulButton inside actions slot */
-.card-actions ::v-deep .playful-btn {
+</style>
+
+<style lang="scss">
+/* Non-scoped: style PlayfulButton inside actions slot (scoped deep selectors crash HBuilderX postcss) */
+.card-actions .playful-btn {
   flex: 1;
 }
 </style>