@@ -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 = ''
@@ -274,6 +274,7 @@
function nichengBtn(data) {
console.log('data', data);
let req = {
nickName: data
@@ -10,7 +10,6 @@
</template>
<script>
- import {MyRenderEventBus} from "./renderEvents"
export default {
name: "videoPlay",
props: {