Merge pull request 'edit' (#88) from lyc-dev into main

This commit is contained in:
lyc 2024-12-05 10:36:59 +08:00
commit b5f824ceea
1 changed files with 0 additions and 4 deletions

View File

@ -129,7 +129,6 @@ const dataset_id = ref('')
// //
const onSuccess = async (response) => { const onSuccess = async (response) => {
console.log(response, 'response')
let data = { let data = {
url: response.url, url: response.url,
dataset_id: dataset_id.value dataset_id: dataset_id.value
@ -174,13 +173,10 @@ const clickItem = (index, item) => {
const prevItem = reactive({}) const prevItem = reactive({})
const onPrevItem = (item) => { const onPrevItem = (item) => {
console.log(item)
Object.assign(prevItem, item) Object.assign(prevItem, item)
prevVisible.value = true prevVisible.value = true
} }
onMounted(() => { onMounted(() => {
let data = sessionStore.get('subject.curNode') let data = sessionStore.get('subject.curNode')
Object.assign(curNode, data); Object.assign(curNode, data);