tj
2025-06-05 859352ee2e233e8ae80277539af62d982a317c6a
sub-pages/protocol/protocol.vue
@@ -17,12 +17,10 @@
onMounted(() => {
    const localTheme = uni.getStorageSync('theme') || 'light'
    theme.value = localTheme
    console.log('theme', theme.value)
})
onLoad((options: { title?: string }) => {
    const title = options.title ? decodeURIComponent(options.title) : '';
    console.log('接收到的title:', title);
    uni.setNavigationBarTitle({
   title: title
});
@@ -34,7 +32,6 @@
    $message.showLoading()
    const { data } = await $http.request('get', '/api/config/content/list/view?id=' +title, {})
    $message.hideLoading()
    console.log('data:', data)
    protocol.value=data
}