mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-03 03:38:43 +08:00 
			
		
		
		
	前端更新插件版本
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
			
		||||
      class="header-search-select"
 | 
			
		||||
      @change="change"
 | 
			
		||||
    >
 | 
			
		||||
      <el-option v-for="item in options" :key="item.path" :value="item" :label="item.title.join(' > ')" />
 | 
			
		||||
      <el-option v-for="option in options" :key="option.item.path" :value="option.item" :label="option.item.title.join(' > ')" />
 | 
			
		||||
    </el-select>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
@@ -167,7 +167,7 @@ export default {
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    vertical-align: middle;
 | 
			
		||||
 | 
			
		||||
    /deep/ .el-input__inner {
 | 
			
		||||
    ::v-deep .el-input__inner {
 | 
			
		||||
      border-radius: 0;
 | 
			
		||||
      border: 0;
 | 
			
		||||
      padding-left: 0;
 | 
			
		||||
 
 | 
			
		||||
@@ -22,11 +22,8 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    click() {
 | 
			
		||||
      if (!screenfull.enabled) {
 | 
			
		||||
        this.$message({
 | 
			
		||||
          message: 'you browser can not work',
 | 
			
		||||
          type: 'warning'
 | 
			
		||||
        })
 | 
			
		||||
      if (!screenfull.isEnabled) {
 | 
			
		||||
        this.$message({ message: '你的浏览器不支持全屏', type: 'warning' })
 | 
			
		||||
        return false
 | 
			
		||||
      }
 | 
			
		||||
      screenfull.toggle()
 | 
			
		||||
@@ -35,12 +32,12 @@ export default {
 | 
			
		||||
      this.isFullscreen = screenfull.isFullscreen
 | 
			
		||||
    },
 | 
			
		||||
    init() {
 | 
			
		||||
      if (screenfull.enabled) {
 | 
			
		||||
      if (screenfull.isEnabled) {
 | 
			
		||||
        screenfull.on('change', this.change)
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    destroy() {
 | 
			
		||||
      if (screenfull.enabled) {
 | 
			
		||||
      if (screenfull.isEnabled) {
 | 
			
		||||
        screenfull.off('change', this.change)
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user