瀏覽代碼

修改bug

Jing 3 周之前
父節點
當前提交
794e997088
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      src/views/news/creatNews.vue

+ 0 - 6
src/views/news/creatNews.vue

@@ -926,12 +926,6 @@ export default {
       if (this.form.islink == 1) {
         this.cleatForm(1)
       }
-      //如果推荐等级为空,则设置为0
-      if (this.form.level == "" || this.form.level == "[0]") {
-        this.form.level = "[0]";
-      } else {
-        this.form.level = JSON.stringify(this.form.level);
-      }
 
       //取出行政职能和行政区划数组的最后一个数字
       if (this.form.department_arr_id == "[]" || this.form.department_arr_id == null) {