Browse Source

Merge branch '2025鹅状元数学' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025鹅状元数学

tanxue 1 month ago
parent
commit
51e015624a

+ 9 - 0
components/dialog/nichengDialog.vue

@@ -17,6 +17,9 @@
 
 <script setup>
 	import { ref } from 'vue';
+	import {
+		toast,
+	} from "@/utils/common";
 	const props = defineProps({
 	  title: {
 	    type: String,
@@ -42,6 +45,12 @@
 	}
 	// 确认
 	function confirmBtn(){
+		
+		if (!nichengValue.value) {
+			toast('请输入昵称')
+			return;
+		}
+		
 		$emit('confirm-btn',nichengValue.value);
 		tipSmallPopup.value.close();
 		nichengValue.value = ''

+ 1 - 0
pages/chanpinMy/myInfo.vue

@@ -274,6 +274,7 @@
 
 	function nichengBtn(data) {
 		console.log('data', data);
+		
 		let req = {
 			nickName: data
 		}

+ 0 - 1
pages/xinshuxue/components/videoPlay.vue

@@ -10,7 +10,6 @@
 </template>
 
 <script>
-	import {MyRenderEventBus} from "./renderEvents"
 	export default {
 		name: "videoPlay",
 		props: {

+ 0 - 1
pages/xinshuxue/components/videoPlay2.vue

@@ -10,7 +10,6 @@
 </template>
 
 <script>
-	import {MyRenderEventBus} from "./renderEvents"
 	export default {
 		name: "videoPlay",
 		props: {