Browse Source

refactor(组件): 隐藏doc tags 部分示例

gemercheung 2 years ago
parent
commit
7dabb9c0b6
2 changed files with 0 additions and 4 deletions
  1. 0 2
      docs/examples/tag/basic.vue
  2. 0 2
      docs/examples/tag/custom.vue

+ 0 - 2
docs/examples/tag/basic.vue

@@ -21,10 +21,8 @@ onMounted(() => {
 })
 onUnmounted(() => {
     const __win = window as any
-    console.warn('onUnmounted')
     if (__win.__sdk) {
         __win.__sdk = null
-        location.reload()
     }
 })
 const handleTagview = ({ id }) => {

+ 0 - 2
docs/examples/tag/custom.vue

@@ -20,10 +20,8 @@ onMounted(() => {
 })
 onUnmounted(() => {
     const __win = window as any
-    console.warn('onUnmounted')
     if (__win.__sdk) {
         __win.__sdk = null
-        location.reload()
     }
 })
 const handleTagview = ({ id }) => {