ice 3 rokov pred
rodič
commit
5ed2abe8a8

+ 3 - 3
web/src/view/content/banner.vue

@@ -59,7 +59,7 @@
     <el-dialog v-model="dialogFormVisible" :before-close="closeDialog" title="弹窗操作">
       <el-form :model="formData" label-position="right" label-width="80px">
         <el-form-item label="操作人:">
-          <el-input v-model.number="formData.oper" clearable placeholder="请输入" />
+          <el-input v-model="formData.oper" clearable placeholder="请输入" />
         </el-form-item>
         <el-form-item label="标题:">
           <el-input v-model="formData.title" clearable placeholder="请输入" />
@@ -121,7 +121,7 @@ export default {
         type: 'banner',
       },
       formData: {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         imgs: '',
@@ -201,7 +201,7 @@ export default {
     closeDialog() {
       this.dialogFormVisible = false
       this.formData = {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         imgs: '',

+ 3 - 3
web/src/view/content/content.vue

@@ -62,7 +62,7 @@
     <el-dialog v-model="dialogFormVisible" :before-close="closeDialog" title="弹窗操作">
       <el-form :model="formData" label-position="right" label-width="80px">
         <el-form-item label="操作人:">
-          <el-input v-model.number="formData.oper" clearable placeholder="请输入"/>
+          <el-input v-model="formData.oper" clearable placeholder="请输入"/>
         </el-form-item>
         <el-form-item label="标题:">
           <el-input v-model="formData.title" clearable placeholder="请输入"/>
@@ -127,7 +127,7 @@ export default {
         type: 'bulletin',
       },
       formData: {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         subtitle: '',
@@ -207,7 +207,7 @@ export default {
     closeDialog() {
       this.dialogFormVisible = false
       this.formData = {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         imgs: '',

+ 3 - 3
web/src/view/content/norm.vue

@@ -59,7 +59,7 @@
     <el-dialog v-model="dialogFormVisible" :before-close="closeDialog" title="弹窗操作">
       <el-form :model="formData" label-position="right" label-width="80px">
         <el-form-item label="操作人:">
-          <el-input v-model.number="formData.oper" clearable placeholder="请输入" />
+          <el-input v-model="formData.oper" clearable placeholder="请输入" />
         </el-form-item>
         <el-form-item label="标题:">
           <el-input v-model="formData.title" clearable placeholder="请输入" />
@@ -121,7 +121,7 @@ export default {
         type: 'norm',
       },
       formData: {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         imgs: '',
@@ -200,7 +200,7 @@ export default {
     closeDialog() {
       this.dialogFormVisible = false
       this.formData = {
-        oper: 0,
+        oper: '',
         title: '',
         text: '',
         imgs: '',