|
@@ -43,7 +43,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, reactive, onUpdated, onMounted, watch } from 'vue';
|
|
|
+import { ref, reactive, onUpdated, onMounted, watch,onBeforeMount } from 'vue';
|
|
|
import { RouterView, useRoute, useRouter } from 'vue-router';
|
|
|
import {
|
|
|
api_getresource,
|
|
@@ -85,6 +85,12 @@ const goback = () => {
|
|
|
//window.history.back();
|
|
|
};
|
|
|
let taskid = "";
|
|
|
+
|
|
|
+
|
|
|
+onBeforeMount(()=>{
|
|
|
+ cklist.value = [];
|
|
|
+})
|
|
|
+
|
|
|
onMounted(()=>{
|
|
|
try{
|
|
|
taskid = route.query.taskid;
|
|
@@ -93,11 +99,11 @@ onMounted(()=>{
|
|
|
}
|
|
|
cklist.value = [];
|
|
|
|
|
|
- Toast.loading({
|
|
|
- message: '加载中...',
|
|
|
- duration: 0,
|
|
|
- forbidClick: true,
|
|
|
- });
|
|
|
+ // Toast.loading({
|
|
|
+ // message: '加载中...',
|
|
|
+ // duration: 0,
|
|
|
+ // forbidClick: true,
|
|
|
+ // });
|
|
|
api_getresource({
|
|
|
resourceType: 1,
|
|
|
}).then(res=>{
|