报警内容修复及删除打印

master
wujingling0908 2 weeks ago
parent 48ca752db2
commit ba5b14f47d
  1. 2
      src/App.vue
  2. 12
      src/components/common/DynamicImage.vue
  3. 8
      src/components/hot-question-new.vue
  4. 2
      src/utils/config.js

@ -106,7 +106,7 @@ onUnmounted(() => {
<template> <template>
<div id="app" class="app-wrapper opacity"> <div id="app" class="app-wrapper opacity">
<RouterView v-slot="{ Component }"> <RouterView v-slot="{ Component }">
<keep-alive include="chat-new"> <keep-alive include="chat">
<component :is="Component" /> <component :is="Component" />
</keep-alive> </keep-alive>
</RouterView> </RouterView>

@ -208,12 +208,12 @@ watch(
// ── 调试日志(currentSrc 变化时)───────────────────── // ── 调试日志(currentSrc 变化时)─────────────────────
watch(currentSrc, (newSrc, oldSrc) => { watch(currentSrc, (newSrc, oldSrc) => {
console.log('DynamicImage: currentSrc changed', { // console.log('DynamicImage: currentSrc changed', {
imageKey: props.imageKey, // imageKey: props.imageKey,
oldSrc: oldSrc?.substring(0, 50), // oldSrc: oldSrc?.substring(0, 50),
newSrc: newSrc?.substring(0, 50), // newSrc: newSrc?.substring(0, 50),
srcLength: newSrc?.length, // srcLength: newSrc?.length,
}) // })
}) })
// ── 暴露方法给父组件 ──────────────────────────────── // ── 暴露方法给父组件 ────────────────────────────────

@ -20,7 +20,7 @@ const initHotQuestion = async () => {
showToast(res.msg); showToast(res.msg);
return; return;
} }
questionList.value = (res?.data || []).slice(0,3); questionList.value = (res?.data || []).slice(0, 3);
// this.renderR(); // this.renderR();
// this.initViewState(); // this.initViewState();
// 获取一体化领取后更新hotList重新更新 // 获取一体化领取后更新hotList重新更新
@ -77,7 +77,7 @@ onMounted(async () => {
}) })
</script> </script>
<template> <template>
<div class="ask-con"> <div class="ask-con">
<div class="item" v-for="(item, index) in questionList" :key="index" @click="handleAskClick(item)"> <div class="item" v-for="(item, index) in questionList" :key="index" @click="handleAskClick(item)">
<div class="icon"><span>#</span></div> <div class="icon"><span>#</span></div>
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
@ -137,9 +137,9 @@ onMounted(async () => {
font-family: PingFang SC; font-family: PingFang SC;
font-size: 14rem; font-size: 14rem;
font-weight: normal; font-weight: normal;
line-height: 31rem; line-height: 22rem;
letter-spacing: 0rem; letter-spacing: 0rem;
margin-top: 4rem;
/* 科个中性/正文-标题 17204D */ /* 科个中性/正文-标题 17204D */
/* 样式描述:用于正文标题 */ /* 样式描述:用于正文标题 */
color: #17204d; color: #17204d;

@ -12,6 +12,4 @@ const config = {
BASEURL: currentUrl.origin, BASEURL: currentUrl.origin,
} }
console.log('liics api config', config)
export default config export default config

Loading…
Cancel
Save