diff --git a/src/views/sce/sceInfo/index.vue b/src/views/sce/sceInfo/index.vue
index 2bbc888..c56daec 100644
--- a/src/views/sce/sceInfo/index.vue
+++ b/src/views/sce/sceInfo/index.vue
@@ -467,7 +467,7 @@
-
+
{
+ this.ruleForm.radioMusic.splice(index, 1);
+ this.tongbuliuchen();
+ this.$message({
+ type: "success",
+ message: "删除成功!"
+ });
+ })
+ .catch(() => {
+ this.$message({
+ type: "error",
+ message: "已取消删除"
+ });
+ });
},
DelVideo(index) {
this.ruleForm.radioVideo.splice(index, 1);
@@ -1949,7 +1972,15 @@ export default {
this.$refs.img.data = this.ruleForm.radioImg;
}
},
+ //新增网易云新增按钮
handleAddMusic() {
+ let list = this.ruleForm.radioMusic
+ if(list.length!=0){
+ if(list[list.length-1].title==''||list[list.length-1].url==''||list[list.length-1].processId==''){
+ this.$message.warning('一次只能添加一条')
+ return false;
+ }
+ }
this.ruleForm.radioMusic.push({
title: "",
url: "",
diff --git a/vue.config.js b/vue.config.js
index 9912217..e40a7c1 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -37,7 +37,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://127.0.0.1:8501/`,
- target: `http://47.104.146.186:8501/`,
+ // target: `http://47.104.146.186:8501/`,
+ target: `http://192.168.3.23:8501/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''