|
@@ -1,4 +1,4 @@
|
|
|
-import { computed, defineComponent, nextTick, reactive, ref, toRefs } from "vue";
|
|
|
+import { computed, defineComponent, nextTick, reactive, ref, toRefs, onUnmounted } from "vue";
|
|
|
import styles from "./index.module.less";
|
|
|
|
|
|
import { api_back } from "/src/helpers/communication";
|
|
@@ -67,7 +67,9 @@ export default defineComponent({
|
|
|
const handleBack = () => {
|
|
|
api_back();
|
|
|
};
|
|
|
-
|
|
|
+ onUnmounted(()=>{
|
|
|
+ shareData._plrl?.destroy()
|
|
|
+ })
|
|
|
const handleChange = (type: IItemType) => {
|
|
|
itemType.value = type;
|
|
|
scoreData.value.itemType = type;
|