摘要:
function doDelete(idx, id) { _axios.delete(`/user/${id}/`).then((res) => { if (res.data.code 0) { dataList.value.splice(idx, 1) } }) } 阅读全文
posted @ 2024-09-17 16:07
一只大学生
阅读(12)
评论(0)
推荐(0)
摘要:
根urls.py from django.contrib import admin from django.urls import path, include, re_path from django.views.static import serve from django.conf import 阅读全文
posted @ 2024-09-17 15:51
一只大学生
阅读(11)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2024-09-17 15:42
一只大学生
阅读(4)
评论(0)
推荐(0)
摘要:
1.使用示例 from utils.view import BaseView class VideoView(BaseView, ModelViewSet): # ... # return Response({"code": 0, "data": context}) return Response( 阅读全文
posted @ 2024-09-17 00:51
一只大学生
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号